JVM_IR KT-24258 fix NPE message for delegated properties
This commit is contained in:
committed by
TeamCityServer
parent
ad8bed078f
commit
4e261cc358
+15
@@ -0,0 +1,15 @@
|
||||
// WITH_RUNTIME
|
||||
// FILE: kt24258.kt
|
||||
|
||||
val lazyNullString: String by lazy { J.nullString() }
|
||||
|
||||
fun testLazyNullString() {
|
||||
val s: String = lazyNullString
|
||||
}
|
||||
|
||||
// FILE: J.java
|
||||
public class J {
|
||||
public static String nullString() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user