-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Type inference error with Parser.Advanced
#696
Comments
FYI @jmbockhorst |
I've finally dug into this a little bit, and found the cause of the error: the However, the
So, there are two potential fixes that come to mind for this: |
I think usually we would key by module name + operator name. But jon is the expert here. |
We should be able to get the operator import in the current source file from |
There seems to be an issue with type inference when we use
Parser.Advanced
alongsideParser
. I've attached a pretty minimal repro; I can't quite get it more minimal than this yet :)Expected Behavior
The code compiles without issues with
elm make
, so I'd expect no errors in the LS.Current Behavior
This currently throws an error in the elm language server.
Steps to Reproduce (for bugs)
elm-ls-parse.zip
Context
This issue is actually creating ~80 errors for our main project 😱
Your Environment
Elm LS 2.3.0, in both Vim and VSCode.
The text was updated successfully, but these errors were encountered: