-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Errors from elm make: Received an invalid json, skipping error. #654
Comments
Submitted the issue too early. It looks like the warning is generated by the output of the missing |
Yeah, I think this might be due to a fairly recent change, will have to double check it. |
No errors shown in the editor when passing from a
case of
to a function with the wrong type. It doesn't matter if it is with <| pipe or with parentheses. If you look in theOutput
log you will get theReceived an invalid json, skipping error.
warning. With parentheses at least you get an error by the language server, but still none fromelm make
.Expected Behavior
Showing the error which is provided by
elm make
.Current Behavior
The errors are not shown and instead in the
Output
log of the extension is the warningReceived an invalid json, skipping error.
written 3 times directly after theelm make
command. Also the language server itself seems to not detect the type mismatch.Possible Solution
As i found out after sending this issue, the problem came from the missing
elm-test
tool. After installing it, the log entry and the missing errors got visible.Steps to Reproduce (for bugs)
The output from elm make for the example is:
Context
I was refactoring some code where i replaced a simple
String
with a specific type like aTree
. I noticed, that my code was not compiling, but in Visual Studio Code were no red squiggles. I looked in theOutput
log of the extension and noticed threeReceived an invalid json, skipping error.
.Your Environment
The text was updated successfully, but these errors were encountered: