mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 20:00:51 +00:00
Fixed AS3 package level const with function value - separate P-code for trait and method
This commit is contained in:
@@ -634,6 +634,10 @@ public class DecompiledEditorPane extends DebuggableEditorPane implements CaretL
|
||||
if (currentTrait != null) {
|
||||
name += ":" + currentTrait.getName(abc).getName(abc.constants, null, false, true);
|
||||
}
|
||||
|
||||
if (currentTrait instanceof TraitSlotConst) {
|
||||
currentTrait = null;
|
||||
}
|
||||
}
|
||||
|
||||
displayMethod(pos, (int) tm.getProperties().index, name, currentTrait, lastTraitIndex, isStatic);
|
||||
|
||||
Reference in New Issue
Block a user