K2: add ConeKotlinType argument for NULL_FOR_NONNULL_TYPE

This commit is contained in:
Mikhail Glukhikh
2023-06-22 16:45:05 +02:00
committed by Space Team
parent 9d9d7880af
commit 17da09bf17
14 changed files with 16 additions and 11 deletions
@@ -3,7 +3,7 @@ class C
class B
class A {
val B.foo: C.() -> Unit get() = <!NULL_FOR_NONNULL_TYPE!>null<!>
val B.foo: C.() -> Unit get() = <!NULL_FOR_NONNULL_TYPE("@ExtensionFunctionType kotlin/Function1<C, kotlin/Unit>")!>null<!>
}
fun <T, R> with(arg: T, f: T.() -> R): R = arg.f()