Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Groovy Version: 2.1.0-SNAPSHOT JVM: 1.7.0_07 Vendor: Oracle Corporation OS: Mac OS X
master branch (67eb7873f5a19403f5a6acf1d4942cadbe7a268d)
Description
@groovy.transform.CompileStatic def foo() { int[][] array = [[1]] as int[][] array[0].length }
throws
Caught: java.lang.VerifyError: (class: script_from_command_line, method: foo signature: ()Ljava/lang/Object;) Expecting to find array on stack java.lang.VerifyError: (class: script_from_command_line, method: foo signature: ()Ljava/lang/Object;) Expecting to find array on stack
Attachments
Issue Links
- relates to
-
GROOVY-11011 SC: array instanceof guard and length or subscript
- Closed