9db9f58fba
- Now that combined declared member scopes for Java classes contain static callables, we don't need to search symbols in the static member scope. (Note that the static member scope is too broad for this use case, as it contains symbols from superclasses, but we only need to look at declared members because the correct `containingClass` is already chosen.) ^KT-61901 ^KTIJ-25126
14 lines
216 B
Kotlin
Vendored
14 lines
216 B
Kotlin
Vendored
// FILE: main.kt
|
|
fun some() {
|
|
JavaClass().<caret>count
|
|
}
|
|
|
|
// FILE: SuperClass.java
|
|
public class SuperClass {
|
|
public Integer count = 0;
|
|
}
|
|
|
|
// FILE: JavaClass.java
|
|
public class JavaClass extends SuperClass {
|
|
}
|