[FIR] Fix NPE on invalid gets with index
^KT-60342 fixed
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
class Incomplete {
|
||||
fun get{}
|
||||
}
|
||||
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
var incomplete: Incomplete = Incomplete(1)
|
||||
<expr>incomplete[0]</expr> += 1
|
||||
}
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
expression: incomplete[0]
|
||||
type: kotlin.Unit
|
||||
Reference in New Issue
Block a user