KT-987 Unboxing nulls

#KT-987 Fixed
This commit is contained in:
Andrey Breslav
2012-03-26 11:42:34 +04:00
parent 6ce6855a91
commit dd9c36387c
9 changed files with 57 additions and 15 deletions
@@ -1,5 +1,5 @@
package test
final class MethosWithPRefTP() {
fun <erased P> f(p0: P) = #()
fun <erased P> f(p0: P?) = #()
}
@@ -2,5 +2,5 @@ namespace test
final class test.MethosWithPRefTP : jet.Any {
final /*constructor*/ fun <init>(): test.MethosWithPRefTP
final fun </*0*/ P : jet.Any?>f(/*0*/ p0: P): jet.Tuple0
final fun </*0*/ P : jet.Any?>f(/*0*/ p0: P?): jet.Tuple0
}