FIR: add test for KT-51621 (qualifiers conflict case)

This commit is contained in:
Mikhail Glukhikh
2022-03-15 11:59:30 +03:00
committed by Space
parent 901336e6e9
commit 3251c474a2
6 changed files with 55 additions and 0 deletions
@@ -0,0 +1,6 @@
FILE: test.kt
package test
public final fun test(): R|kotlin/Unit| {
R|kotlin/Unit|.R|first/Some.foo|()
}
@@ -0,0 +1,26 @@
// FILE: first/Some.java
package first;
public class Some {
public static void foo() {}
}
// FILE: second/Some.java
package second;
/* package-private */ class Some {
public static void bar() {}
}
// FILE: test/test.kt
package test
import first.*
import second.*
fun test() {
<!NO_COMPANION_OBJECT!>Some<!>.foo()
}