soywiz-archive / jtransc

Bytecode to source converting Java & Kotlin code into JavaScript, C++, D, C#, PHP, AS3, Dart and Haxe and run it everywhere. Also use JVM code in your favourite language as a library.
https://jtransc.soywiz.com/
Apache License 2.0
632 stars 67 forks source link

instanceof MyClass[] fails in some cases #192

Open soywiz opened 7 years ago

soywiz commented 7 years ago

instanceof with primitive types works fine, but even when no so frequent, it seems that there are some cases not covered. Discovered here: https://github.com/jtransc/jtransc/pull/189

We have to check instanceof: