mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-08 12:23:46 +00:00
Fixed #2077 AS3 colliding types in current package with trait names
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -23,7 +23,8 @@ package
|
||||
TestCatchFinally;
|
||||
TestChain2;
|
||||
TestChainedAssignments;
|
||||
TestCollidingTry;
|
||||
TestCollidingTraitNames;
|
||||
TestCollidingTry;
|
||||
TestComplexExpressions;
|
||||
TestContinueLevels;
|
||||
TestConvert;
|
||||
@@ -157,4 +158,4 @@ package
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
7
libsrc/ffdec_lib/testdata/as3_new/src/tests_classes/CollidingAttribute.as
vendored
Normal file
7
libsrc/ffdec_lib/testdata/as3_new/src/tests_classes/CollidingAttribute.as
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
package tests_classes
|
||||
{
|
||||
public class CollidingAttribute
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
7
libsrc/ffdec_lib/testdata/as3_new/src/tests_classes/CollidingAttribute2.as
vendored
Normal file
7
libsrc/ffdec_lib/testdata/as3_new/src/tests_classes/CollidingAttribute2.as
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
package tests_classes
|
||||
{
|
||||
public class CollidingAttribute2
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
7
libsrc/ffdec_lib/testdata/as3_new/src/tests_classes/CollidingAttributeParent.as
vendored
Normal file
7
libsrc/ffdec_lib/testdata/as3_new/src/tests_classes/CollidingAttributeParent.as
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
package tests_classes
|
||||
{
|
||||
public class CollidingAttributeParent
|
||||
{
|
||||
public var CollidingAttribute2:int = 5;
|
||||
}
|
||||
}
|
||||
7
libsrc/ffdec_lib/testdata/as3_new/src/tests_classes/CollidingMethod.as
vendored
Normal file
7
libsrc/ffdec_lib/testdata/as3_new/src/tests_classes/CollidingMethod.as
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
package tests_classes
|
||||
{
|
||||
public class CollidingMethod
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
16
libsrc/ffdec_lib/testdata/as3_new/src/tests_classes/TestCollidingTraitNames.as
vendored
Normal file
16
libsrc/ffdec_lib/testdata/as3_new/src/tests_classes/TestCollidingTraitNames.as
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
package tests_classes
|
||||
{
|
||||
public class TestCollidingTraitNames extends CollidingAttributeParent
|
||||
{
|
||||
public var CollidingAttribute:tests_classes.CollidingAttribute;
|
||||
|
||||
public function test(): void
|
||||
{
|
||||
var t:tests_classes.CollidingAttribute2 = null;
|
||||
}
|
||||
|
||||
public function CollidingMethod(): void {
|
||||
var t:tests_classes.CollidingMethod = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user