mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-17 22:21:52 +00:00
AS3: construct needs parentheses
This commit is contained in:
@@ -45,9 +45,7 @@ public class ConstructTreeItem extends TreeItem {
|
||||
return object.toString(constants, localRegNames, fullyQualifiedNames);
|
||||
}
|
||||
String obStr = object.toString(constants, localRegNames, fullyQualifiedNames);
|
||||
if (object.precedence > precedence) {
|
||||
obStr = "(" + obStr + ")";
|
||||
}
|
||||
obStr = "(" + obStr + ")";
|
||||
return hilight("new ") + obStr + hilight("(") + argStr + hilight(")");
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user