ajwang / groovypptest

Automatically exported from code.google.com/p/groovypptest
0 stars 0 forks source link

For-in for non int Array throws VerifyError (Expecting to find array of ints on stack) #332

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
@Typed package hoge
byte[] ary = new byte[2]
for (byte v in ary) {}

This code throws Caught: java.lang.VerifyError: (class: hoge/TypeTest, method: 
run signature: ()Ljava/lang/Object;) Expecting to find array of ints on stack

It is same if I use short[].

This happened in groovypp-0.4.113 with Groovy-1.7.6.

Original issue reported on code.google.com by yukoba on 1 Jan 2011 at 3:53

GoogleCodeExporter commented 8 years ago
Sorry this only happens if I used in IntelliJ IDEA 10.0.1.
Maybe this is IntelliJ IDEA problem, I will report to them.

Original comment by yukoba on 1 Jan 2011 at 4:12

GoogleCodeExporter commented 8 years ago
My previous comment is my mistake.
This problem happens even if I do not use IntelliJ IDEA.

Original comment by yukoba on 1 Jan 2011 at 4:49

GoogleCodeExporter commented 8 years ago

Original comment by alex.tka...@gmail.com on 1 Jan 2011 at 1:23