We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm going to use this issue to track all the bugs I find while working on the LSP
missing call argument
too many call arguments
1 parameter expecetd but 2 were given
block.setFriction(1, "");
This happens here
()
cannot find X
ambigious call
var b = a.map<string>(x => "a" + x);
is reporting as
Ambiguous call; multiple headers match: <[email protected]:50:12>(projection: function(value: string): string): string[] <U@arrays_map_2.zc:7:12>(projection: function(value: string): string): string[]
Could be reported as:
Ambiguous call; multiple headers match: <[email protected]:50:12>(function(string): string): string[] <U@arrays_map_2.zc:7:12>(function(string): string): string[]
There could be more cleanup, but I think removing the parameter names are a good start Java reports this error as:
Ambiguous method call: both 'CompilerErrors.doThing(Function<String, String>)' and 'CompilerErrors.doThing(int[])' match.
No operator in type position is incorrect when in call arguments The position should be reported on the operator, instead of on the function call
Iterator errors are reported in the wrong place
ZenCode/CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/ClassDefinition.java
Line 46 in f325e2f
The text was updated successfully, but these errors were encountered:
@ZenCodeType.StaticExpansionMethod public static MutableComponent translatable(String content) { return Component.translatable(content); } @ZenCodeType.StaticExpansionMethod public static MutableComponent translatable(String content, String... args) { return Component.translatable(content, (Object[]) args); } @ZenCodeType.StaticExpansionMethod public static MutableComponent translatable(String content, Component... args) { return Component.translatable(content, (Object[]) args); }
fails on Component.translatable("test.aaa.test")
Component.translatable("test.aaa.test")
Void
ItemCapability<T, Void>
Sorry, something went wrong.
No branches or pull requests
I'm going to use this issue to track all the bugs I find while working on the LSP
Error Reporting
missing call argument
reported incorrectlyThis should be reported as
too many call arguments
or better1 parameter expecetd but 2 were given
This happens here
The position should be reported in between the
()
cannot find X
ambigious call
is too verboseis reporting as
Could be reported as:
There could be more cleanup, but I think removing the parameter names are a good start
Java reports this error as:
No operator in type position is incorrect when in call arguments
The position should be reported on the operator, instead of on the function call
Iterator errors are reported in the wrong place
General
ZenCode/CodeModel/src/main/java/org/openzen/zenscript/codemodel/definition/ClassDefinition.java
Line 46 in f325e2f
The text was updated successfully, but these errors were encountered: