mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 06:06:32 +00:00
Fixed: #270 AS decompilation - comma in ternar
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -21,6 +21,7 @@ package
|
||||
TestChainedAssignments;
|
||||
TestComplexExpressions;
|
||||
TestContinueLevels;
|
||||
TestComma;
|
||||
TestCompoundAssignments;
|
||||
TestDecl2;
|
||||
TestDeclarations;
|
||||
|
||||
13
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestComma.as
vendored
Normal file
13
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestComma.as
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestComma
|
||||
{
|
||||
public function run():*
|
||||
{
|
||||
var a:int = 5;
|
||||
var b:int = 0;
|
||||
trace(a > 4 ? (b = 5, a) : 35);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user