Fixed #1892 AS3 - Package internal custom namespaces

This commit is contained in:
Jindra Petřík
2022-11-26 21:12:19 +01:00
parent e415945490
commit f24b132ae2
14 changed files with 53 additions and 12 deletions

View File

@@ -1271,7 +1271,8 @@ public class ActionScript3ClassicAirDecompileTest extends ActionScript3Decompile
+ "var a:* = ns::unnamespacedFunc();\r\n"
+ "var b:* = ns::[name];\r\n"
+ "trace(b.c);\r\n"
+ "var c:int = myInternal::neco;\r\n",
+ "var c:int = myInternal::neco;\r\n"
+ "var d:int = myInternal2::neco;\r\n",
false);
}

View File

@@ -1266,7 +1266,8 @@ public class ActionScript3ClassicDecompileTest extends ActionScript3DecompileTes
+ "var a:* = ns::unnamespacedFunc();\r\n"
+ "var b:* = ns::[name];\r\n"
+ "trace(b.c);\r\n"
+ "var c:* = myInternal::neco;\r\n",
+ "var c:* = myInternal::neco;\r\n"
+ "var d:* = this.myInternal2::neco;\r\n",
false);
}