Closed caithesi closed 7 months ago
Fixed it; please test.
Notice: In version 3.1.8, the arguments parameter was changed from
Object[]
toObject...
, which turned out to be a really bad decision because it caused a very ugly invocation ambiguity withevaluate(int, Object[])
. Thus, with version 3.1.10, the parameter was changed back toObject[]
.
Ping.
Ping.
I am using java 17, janino version 3.1.9 When i try to call evaluate method with at least 1 parameter, i got : "reference to evaluate is ambiguous both method evaluate(java.lang.Object...) in org.codehaus.janino.ExpressionEvaluator and method evaluate(int,java.lang.Object...) in org.codehaus.janino.ExpressionEvaluator match" for example:
This will throw error:
Is this a bug or i did something wrong? Thank you.