Exception during compilation Token cannot be cast to Expression
|Status:||On hold||Start date:|
|Assignee:||Hannu Niemistö||% Done:|
|Velocity based estimate||-|
The following code
test = "foo","bar"
causes an exception
java.lang.ClassCastException: org.simantics.scl.compiler.internal.parsing.Token cannot be cast to org.simantics.scl.compiler.elaboration.expressions.Expression at org.simantics.scl.compiler.internal.parsing.parser.SCLParserImpl.reduceLetQualifier(SCLParserImpl.java:803) at org.simantics.scl.compiler.internal.parsing.parser.SCLParser.reduce(SCLParser.java:608) at org.simantics.scl.compiler.internal.parsing.parser.SCLParser.parse(SCLParser.java:316) at org.simantics.scl.compiler.internal.parsing.parser.SCLParser.parseCommands(SCLParser.java:370)
#6 Updated by Tuukka Lehtonen about 1 year ago
- Tags deleted (
- Status changed from Closed to On hold
- % Done changed from 100 to 0
- Release deleted (
This was not fixed afterall. There's only a unit test for it for now.
I just closed this because it was tagged with 1.27.0 and since that is closed I thought this should have been as well.