Details
Description
When I compile the following code
UnsupportedOperator.groovy
@groovy.transform.CompileStatic class UnsupportedOperator { def x = 'a' !== 'b' }
I get the following NullPointerException during compilation:
BUG! exception in phase 'instruction selection' in source unit 'ConsoleScript13' unexpected NullpointerException Caused by: java.lang.NullPointerException
Without the @CompileStatic, I get the expected error message:
Caused by: org.codehaus.groovy.syntax.SyntaxException: Operator ("!==" at 3:17: "!==" ) not supported @ line 3, column 17.
This might be similar to https://github.com/groovy/groovy-eclipse/issues/179
Attachments
Issue Links
- links to