AS3 direct edit: property equals fix

This commit is contained in:
Jindra Petřík
2015-11-09 21:20:32 +01:00
parent 7fdca1992a
commit f60e5c5f23
@@ -327,7 +327,7 @@ public class PropertyAVM2Item extends AssignableAVM2Item {
Reference<ABC> outPropValueAbc = new Reference<>(null);
if (p != null && (p.objType instanceof TypeItem)) {
if (AVM2SourceGenerator.searchPrototypeChain(localData.privateNs, localData.protectedNs, false, abc, nsname, (((TypeItem) p.objType).fullTypeName.getLast()), propertyName, outName, outNs, outPropNs, outPropNsKind, outPropNsIndex, outPropType, outPropValue, outPropValueAbc)) {
objType = new TypeItem("".equals(outNs.getVal()) ? outName.getVal() : outNs.getVal() + "." + outName.getVal());
objType = new TypeItem(outNs.getVal().add(outName.getVal()));
propType = p.returnType;
propIndex = abc.getSelectedAbc().constants.getMultinameId(new Multiname(Multiname.QNAME,
abc.getSelectedAbc().constants.getStringId(propertyName, true),