mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-07 02:56:28 +00:00
Fixed: #2276 Protected namespaces do not use fully qualified names
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -61,6 +61,7 @@ package
|
||||
TestForInReturn;
|
||||
TestForInSwitch;
|
||||
TestForXml;
|
||||
TestGetProtected;
|
||||
TestGotos;
|
||||
TestGotos2;
|
||||
TestGotos3;
|
||||
|
||||
21
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestGetProtected.as
vendored
Normal file
21
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestGetProtected.as
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestGetProtected
|
||||
{
|
||||
protected var attr:int = 5;
|
||||
|
||||
public function run():*
|
||||
{
|
||||
var c:InnerClass = new InnerClass();
|
||||
c.attr = 2;
|
||||
var a = attr;
|
||||
trace(a);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class InnerClass
|
||||
{
|
||||
public var attr:int = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user