mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-07 16:16:18 +00:00
Fixed #2077 AS3 colliding types in current package with trait names
This commit is contained in:
@@ -530,4 +530,32 @@ public class ActionScript3ClassTest extends ActionScript3DecompileTestBase {
|
||||
+ " }\n"
|
||||
+ "}");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCollidingTraitNames() {
|
||||
decompileScriptPack("standard", "tests_classes.TestCollidingTraitNames", "package tests_classes\n"
|
||||
+ "{\n"
|
||||
+ " public class TestCollidingTraitNames extends CollidingAttributeParent\n"
|
||||
+ " {\n"
|
||||
+ " \n"
|
||||
+ " \n"
|
||||
+ " public var CollidingAttribute:tests_classes.CollidingAttribute;\n"
|
||||
+ " \n"
|
||||
+ " public function TestCollidingTraitNames()\n"
|
||||
+ " {\n"
|
||||
+ " super();\n"
|
||||
+ " }\n"
|
||||
+ " \n"
|
||||
+ " public function test() : void\n"
|
||||
+ " {\n"
|
||||
+ " var t:tests_classes.CollidingAttribute2 = null;\n"
|
||||
+ " }\n"
|
||||
+ " \n"
|
||||
+ " public function CollidingMethod() : void\n"
|
||||
+ " {\n"
|
||||
+ " var t:tests_classes.CollidingMethod = null;\n"
|
||||
+ " }\n"
|
||||
+ " }\n"
|
||||
+ "}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user