Support new form of definitely non-nullable types: T & Any
^KT-26245 In Progress
This commit is contained in:
committed by
teamcityserver
parent
cdd8d1c163
commit
302eacbf59
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
// !LANGUAGE: -DefinitelyNotNullTypeParameters
|
||||
|
||||
fun <T> foo(x: T, y: <!UNSUPPORTED_FEATURE!>T & Any<!>): List<<!UNSUPPORTED_FEATURE!>T & Any<!>>? = null
|
||||
Reference in New Issue
Block a user