-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
improve error message for new
missing type parameters.
#431
Labels
Comments
I'm pretty sure this error is emitted from lowering, not from parsing so that's why it's so much less informative. Hopefully once lowering is in the julia side this can be fixed. |
Yep, this can't be fixed in parsing. I'd move it to JuliaLowering.jl but it seems I'll need to move that to the JuliaLang org first. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the following code
produces the syntax error
This isn't a bad error message; it correctly identifies
new
missing type parameters, but it's missing the nice JuliaSyntax highlighting, and doesn't say how many parameters were expected (not needed in this example, but for types with lots of params, it would be useful).The text was updated successfully, but these errors were encountered: