Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
When org.codehaus.groovy.classgen.asm.BinaryExpressionHelper encounters invalid operation (for example, ===, as mentioned in https://issuetracker.springsource.com/browse/STS-3878), it throws GroovyRuntimeException caused by SyntaxException, for which invalid operation length is always equal to 1.
It would be nice if BinaryExpressionHelper will take into account actual length of invalid operation, so it would make it easy to mark entire incorrect operation in IDE.