[AA] Remove classifiers from non-static declared member scopes
- The semantics of a non-static declared member scope should be as follows: For a variable `c: C` of class type `C`, the declared member scope should contain all members `x` accessible as `c.x` (visibility notwithstanding) which are *also* explicitly declared in `C`. - Classifiers are not accessible as properties of a variable `c`, only as static members of the class `C` itself, so non-static declared member scopes should not contain any classifiers. ^KT-61800
This commit is contained in:
committed by
Space Team
parent
8b24baade9
commit
5679acbbdb
analysis/analysis-api/testData/components/scopeProvider/staticMemberScope/classWithJavaSuperclass.kt
Vendored
+1
-1
@@ -13,7 +13,7 @@ public abstract class JavaClass {
|
||||
|
||||
public static int y = 1;
|
||||
|
||||
public class C1 {
|
||||
public static class C1 {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user