Saving and loading projection kind of array element type in bytecode.

This commit is contained in:
Evgeny Gerashchenko
2012-11-20 16:45:44 +04:00
parent 21e97b408c
commit d37bdbc07d
16 changed files with 72 additions and 13 deletions
@@ -0,0 +1,3 @@
package test
fun nothing(): Array<in Number> = throw Exception()
@@ -0,0 +1,3 @@
namespace test
internal final fun nothing(): jet.Array<in jet.Number>
@@ -0,0 +1,3 @@
package test
fun nothing(): Array<out Number> = throw Exception()
@@ -0,0 +1,3 @@
namespace test
internal final fun nothing(): jet.Array<out jet.Number>
@@ -0,0 +1,3 @@
package test
fun <T> nothing(): Array<out T> = throw Exception()
@@ -0,0 +1,3 @@
namespace test
internal final fun </*0*/ T : jet.Any?>nothing(): jet.Array<out T>