ERROR: syntax: too few type parameters specified in "new{...}" around REPL[3]:1
Stacktrace:
[1] top-level scope
@ REPL[3]:1
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).
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.
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).