[FIR] Source for property delegates should not be null
^KT-60327 fixed Merge-request: KT-MR-13221 Merged-by: Egor Kulikov <Egor.Kulikov@jetbrains.com>
This commit is contained in:
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
fun String.getValue(x: Any?, y: KProperty<*>) = ""
|
||||
val x: String by
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
FILE: incompletePropertyWithDelegate.kt
|
||||
public? final? fun String.getValue(x: Any?, y: KProperty<*>): <implicit> { LAZY_BLOCK }
|
||||
public? final? val x: Stringby LAZY_EXPRESSION
|
||||
public? get(): <implicit> { LAZY_BLOCK }
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
FILE: incompletePropertyWithDelegate.kt
|
||||
public? final? fun String.getValue(x: Any?, y: KProperty<*>): <implicit> {
|
||||
^getValue String()
|
||||
}
|
||||
public? final? val x: Stringby ERROR_EXPR(Should have delegate)
|
||||
public? get(): <implicit> {
|
||||
^ D|/x|.getValue#(Null(null), ::R|/x|)
|
||||
}
|
||||
Reference in New Issue
Block a user