FIR: add test for KT-51621 (qualifiers conflict case)
This commit is contained in:
+6
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user