FIR CFG: ignore exception edges when looking for return values
^KT-54668 Fixed
This commit is contained in:
+2
-2
@@ -7,8 +7,8 @@ interface A {
|
||||
|
||||
fun getA(): A? = null
|
||||
|
||||
val x by <!DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE, NEW_INFERENCE_ERROR!>lazy {
|
||||
val x by lazy {
|
||||
(getA() ?: error("error")).list.associateBy {
|
||||
it
|
||||
}
|
||||
}<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user