Fixed #1888 Resolve properties on protected namespaces

This commit is contained in:
Jindra Petřík
2022-11-30 22:58:35 +01:00
parent 7ed6ea1f9a
commit 2a68570103
14 changed files with 111 additions and 58 deletions
@@ -357,7 +357,7 @@ public class DecompiledEditorPane extends DebuggableEditorPane implements CaretL
if (parentType.equals("*")) {
return false;
}
AbcIndexing.TraitIndex propertyTraitIndex = indexing.findProperty(new AbcIndexing.PropertyDef(propName, new TypeItem(parentType), getABC(), data.namespaceIndex), data.isStatic, !data.isStatic);
AbcIndexing.TraitIndex propertyTraitIndex = indexing.findProperty(new AbcIndexing.PropertyDef(propName, new TypeItem(parentType), getABC(), data.namespaceIndex), data.isStatic, !data.isStatic, true);
if (propertyTraitIndex == null) {
return false;
}