Description
Example:
import groovy.transform.CompileStatic @CompileStatic class GrailsHomeWorkspaceReader { GrailsHomeWorkspaceReader(String grailsHome = System.getProperty('grails.home') ?: System.getenv('GRAILS_HOME')) { } }
Exception:
java.lang.ArrayIndexOutOfBoundsException: size==0 at org.codehaus.groovy.classgen.asm.OperandStack.getTopOperand(OperandStack.java:670) at org.codehaus.groovy.classgen.asm.OperandStack.dup(OperandStack.java:174) at org.codehaus.groovy.classgen.asm.BinaryExpressionHelper.evaluateElvisOperatorExpression(BinaryExpressionHelper.java:793) at org.codehaus.groovy.classgen.asm.BinaryExpressionHelper.evaluateTernary(BinaryExpressionHelper.java:864) at org.codehaus.groovy.classgen.AsmClassGenerator.visitTernaryExpression(AsmClassGenerator.java:572) at org.codehaus.groovy.ast.CodeVisitorSupport.visitShortTernaryExpression(CodeVisitorSupport.java:154)