e8131d6e30
^KT-31244 Fixed
17 lines
262 B
Kotlin
Vendored
17 lines
262 B
Kotlin
Vendored
// SKIP_TXT
|
|
// !LANGUAGE: +PreferJavaFieldOverload
|
|
// FILE: a/JClass.java
|
|
package a;
|
|
public class JClass {
|
|
public static int foo = 42;
|
|
}
|
|
// FILE: a.kt
|
|
package b
|
|
val foo = 42
|
|
|
|
// FILE: b.kt
|
|
|
|
import a.JClass.foo
|
|
import b.foo
|
|
fun test() { <!AMBIGUITY!>foo<!> }
|