Closed pedja4 closed 9 years ago
KEYWORD_IN is not supported, trying to execute this simple script
KEYWORD_IN
def status = "status 1"; def b = status in ["status 1", "status 2", "status 3", "status 4"];
throws exception
java.lang.IllegalArgumentException: 573 at org.kohsuke.groovy.sandbox.impl.Ops.binaryOperatorMethods(Ops.java:29) ~[Ops.class:?]
where 573 is the value of org.codehaus.groovy.syntax.Types.KEYWORD_IN
573
org.codehaus.groovy.syntax.Types.KEYWORD_IN
Fixed by pull request #26
KEYWORD_IN
is not supported, trying to execute this simple scriptthrows exception
where
573
is the value oforg.codehaus.groovy.syntax.Types.KEYWORD_IN