++Added custom "sure" function in some diagnostic tests, because it is being removed from builtins.
This commit is contained in:
@@ -6,6 +6,6 @@ fun foo1() {
|
|||||||
<!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>fooT22<!>()
|
<!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>fooT22<!>()
|
||||||
}
|
}
|
||||||
|
|
||||||
val n : Nothing = null!!
|
val n : Nothing = null.sure()
|
||||||
|
|
||||||
fun <T : Any> T?.sure() : T = this!!
|
fun <T : Any> T?.sure() : T = this!!
|
||||||
|
|||||||
Reference in New Issue
Block a user