mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
in the case of conflict name between class and companion object fields ^KT-71469 GitOrigin-RevId: 3ec6dd09c1d56e08b1c8d400b1988db5d61ec88b
12 lines
380 B
Java
12 lines
380 B
Java
import fields.ClassAndCompanionJvmField;
|
|
|
|
public class CompanionAndClassJvmFieldImplicit {
|
|
public void method(ClassAndCompanionJvmField c) {
|
|
int i = c.fo<caret>o;
|
|
}
|
|
}
|
|
|
|
// REF: (in fields.ClassAndCompanionJvmField.Companion).foo
|
|
// CLS_REF: (in fields.ClassAndCompanionJvmField).foo
|
|
// ^should be companion object, but for some reasons Java resolves into the class
|