[FIR] Highlight the weirdness of one test

The thing is, in a box test there is a proper
`UNRESOLVED_REFERENCE` on `M2().a.m2()` in K1 as well,
but it's not present in diagnostic tests. And also,
there's no error in the Kotlin IntelliJ plugin when
viewing such code.

It looks dangerous, but since this code is about
classes with identical fqNames, and since nothing
sus is really compiled, we can probably ignore this
problem. It's unlikely that it impacts much.
This commit is contained in:
Nikolay Lunyak
2023-11-22 15:53:14 +02:00
committed by Space Team
parent e4781d8508
commit 5e1e8e8f61
2 changed files with 2 additions and 0 deletions
@@ -31,6 +31,7 @@ import p.*
fun test(a: A) {
a.m1()
a.<!UNRESOLVED_REFERENCE!>m2<!>()
M1().a.m1()
@@ -31,6 +31,7 @@ import p.*
fun test(a: A) {
a.m1()
a.<!UNRESOLVED_REFERENCE!>m2<!>()
M1().a.m1()