diff --git a/CHANGELOG.md b/CHANGELOG.md index c09b38ba8..4f64a3636 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ All notable changes to this project will be documented in this file. - AS1/2 cast op decompilation - Only last DoInitAction tag displayed - #1606 Run/Debug SWF that is embedded (has no file associated) +- AS3 direct editation - coerce in setproperty ### Changed - #1565, #1407, #1350 On BinaryData SWF save, parent SWF is saved diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/PropertyAVM2Item.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/PropertyAVM2Item.java index 177f3d025..2ec08f567 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/PropertyAVM2Item.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/PropertyAVM2Item.java @@ -12,7 +12,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library. */ + * License along with this library. + */ package com.jpexs.decompiler.flash.abc.avm2.parser.script; import com.jpexs.helpers.Reference; @@ -644,7 +645,7 @@ public class PropertyAVM2Item extends AssignableAVM2Item { String srcType = assignedValue.returnType().toString(); GraphTargetItem coerced = assignedValue; if (!targetType.toString().equals(srcType) && !propertyName.startsWith("@")) { - coerced = makeCoerced(assignedValue, targetType); + //coerced = makeCoerced(assignedValue, targetType); } return toSourceMerge(localData, generator, obj, coerced, needsReturn ? dupSetTemp(localData, generator, ret_temp) : null,