6356807997
#KT-36247 fixed A lot of testdata changed because significanly less (error) descriptors are created for unresolved types, so diagnostics became different.
37 lines
805 B
Plaintext
Vendored
37 lines
805 B
Plaintext
Vendored
== A ==
|
|
class A
|
|
---------------------
|
|
L0:
|
|
1 <START>
|
|
L1:
|
|
<END> NEXT:[<SINK>]
|
|
error:
|
|
<ERROR> PREV:[]
|
|
sink:
|
|
<SINK> PREV:[<ERROR>, <END>]
|
|
=====================
|
|
== foo ==
|
|
fun foo(a: A) {
|
|
a[0]++
|
|
}
|
|
---------------------
|
|
L0:
|
|
1 <START>
|
|
v(a: A)
|
|
magic[FAKE_INITIALIZER](a: A) -> <v0>
|
|
w(a|<v0>)
|
|
2 mark({ a[0]++ })
|
|
mark(a[0])
|
|
r(a) -> <v1>
|
|
r(0) -> <v2>
|
|
magic[UNRESOLVED_CALL](a[0]|<v1>, <v2>) -> <v3>
|
|
magic[UNRESOLVED_CALL](a[0]++|<v3>) -> <v4>
|
|
magic[UNRESOLVED_CALL](a[0]++|<v3>, <v4>) -> <v5>
|
|
L1:
|
|
1 <END> NEXT:[<SINK>]
|
|
error:
|
|
<ERROR> PREV:[]
|
|
sink:
|
|
<SINK> PREV:[<ERROR>, <END>]
|
|
=====================
|