Created
December 18, 2014 16:14
-
-
Save jeffscottbrown/8462d865c7bf99deaa88 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grv $ groovy -version | |
Groovy Version: 2.3.7 JVM: 1.7.0_45 Vendor: Oracle Corporation OS: Mac OS X | |
grv $ | |
grv $ cat SomeTrait.groovy | |
trait SomeTrait { | |
static String someValue | |
} | |
grv $ cat SomeClass.groovy | |
@groovy.transform.CompileStatic | |
class SomeClass implements SomeTrait {} | |
grv $ groovyc SomeClass.groovy | |
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: | |
General error during class generation: Internal compiler error while compiling SomeClass.groovy | |
Method: MethodNode@779930484[java.lang.String getSomeValue()] | |
Line -1, expecting casting to java.lang.String but operand stack is empty | |
java.lang.ArrayIndexOutOfBoundsException: Internal compiler error while compiling SomeClass.groovy | |
Method: MethodNode@779930484[java.lang.String getSomeValue()] | |
Line -1, expecting casting to java.lang.String but operand stack is empty | |
at org.codehaus.groovy.classgen.asm.OperandStack.throwExceptionForNoStackElement(OperandStack.java:310) | |
at org.codehaus.groovy.classgen.asm.OperandStack.doConvertAndCast(OperandStack.java:315) | |
at org.codehaus.groovy.classgen.asm.OperandStack.doGroovyCast(OperandStack.java:279) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment