Fixed AS3 - Resolving types on static protected namespaced properties

Fixed test data
This commit is contained in:
Jindra Petřík
2022-12-03 19:46:36 +01:00
parent 8388d6adf4
commit 933aa4c234
7 changed files with 11 additions and 7 deletions

View File

@@ -171,7 +171,7 @@ public final class AbcIndexing {
}
int k = abc.constants.getNamespace(propNsIndex).kind;
if (k != Namespace.KIND_PACKAGE && propNsIndex != builtInIndex) {
if (k == Namespace.KIND_PROTECTED) {
if (k == Namespace.KIND_PROTECTED || k == Namespace.KIND_STATIC_PROTECTED) {
setProtected(abc, propNsIndex);
} else {
setPrivate(abc, propNsIndex);