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

In constructor functions, '..' expected, got 'param' #35

Open
cottand opened this issue Oct 26, 2024 · 1 comment
Open

In constructor functions, '..' expected, got 'param' #35

cottand opened this issue Oct 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cottand
Copy link

cottand commented Oct 26, 2024

Hi! First off thanks for this plugin, I think it is the best way to get Gleam going on the JetBrains family of IDEs.

I currently see a syntax highlight error when using constructors inside expressions.

The LSP and the gleam compiler do not seem to mind, so I think it might be a problem in your grammar.

image

Specifically, this also happens when using no-function constructors

image

As you can see, the grammar is not expecting an identifier that is not a function call:

image

All the above look related but they might be separate problems. Thank you!

@themartdev
Copy link
Owner

Hi, I'll take a look. Thank you for reporting this!

@themartdev themartdev self-assigned this Nov 10, 2024
@themartdev themartdev added the bug Something isn't working label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants