Add serialization/deserialization of definitely-not-null types
^KT-26245 In Progress
This commit is contained in:
committed by
TeamCityServer
parent
6ca6bb2d45
commit
30eb9ad32f
+5
@@ -0,0 +1,5 @@
|
||||
// !LANGUAGE: +DefinitelyNotNullTypeParameters
|
||||
// COMPILER_ARGUMENTS: -XXLanguage:+DefinitelyNotNullTypeParameters
|
||||
package test
|
||||
|
||||
fun <T> foo(x: T!!, y: List<T!!>, z: (T!!) -> T!!): T!! = x
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
public fun </*0*/ T> foo(/*0*/ x: T!!, /*1*/ y: kotlin.collections.List<T!!>, /*2*/ z: (T!!) -> T!!): T!!
|
||||
Reference in New Issue
Block a user