mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 06:01:00 +00:00
Fixed #1940 AS3 decompilation - wrong assignment
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestExecutionOrder
|
||||
{
|
||||
public function run():*
|
||||
{
|
||||
var m:MyClass;
|
||||
m.x = (m = create() as MyClass).x + 5;
|
||||
trace(m.x);
|
||||
}
|
||||
|
||||
|
||||
private static function create(): Object {
|
||||
return new MyClass();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class MyClass {
|
||||
public var x:int = 1;
|
||||
public var y:int = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user