[Analysis API FIR] fix call resolution of non-resolvable elements
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
fun main() {
|
||||
val x = <expr>if (true) 1 else 2</expr>
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
null
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
fun main() {
|
||||
val x = <expr>1</expr>
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
null
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
fun main() {
|
||||
val x = <expr>when (true) { else -> 2 }</expr>
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
null
|
||||
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
||||
KtErrorCallInfo:
|
||||
candidateCalls = []
|
||||
diagnostic = ERROR<OTHER_ERROR: Unknown (other) error>
|
||||
diagnostic = ERROR<null: Erroneous delegated constructor call>
|
||||
Reference in New Issue
Block a user