Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax issue when using mix app_gen.resource #6

Open
WindDrifter opened this issue Mar 8, 2023 · 0 comments
Open

Syntax issue when using mix app_gen.resource #6

WindDrifter opened this issue Mar 8, 2023 · 0 comments

Comments

@WindDrifter
Copy link

(SyntaxError) nofile:12:21: syntax error before: '('
    |
 12 |   def create_player"(params) do
    |                     ^
    (elixir 1.14.2) lib/code.ex:776: Code.format_string!/2
    lib/mix/tasks/context.ex:72: Mix.Tasks.AppGen.Context.generate_context_file/3
    lib/mix/tasks/context.ex:62: anonymous fn/2 in Mix.Tasks.AppGen.Context.generate_files_from_schemas/2
    (elixir 1.14.2) lib/enum.ex:980: anonymous fn/3 in Enum.each/2
    (stdlib 4.1.1) maps.erl:411: :maps.fold_1/3
    (elixir 1.14.2) lib/enum.ex:2480: Enum.each/2
    lib/mix/tasks/resource.ex:129: Mix.Tasks.AppGen.Resource.ensure_context_module_create/3

For some reason it generate " before the (

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant