git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added test for empty case
[swftools.git]
/
lib
/
as3
/
ok
/
new.as
diff --git
a/lib/as3/ok/new.as
b/lib/as3/ok/new.as
index
355a5a3
..
792f7c5
100644
(file)
--- a/
lib/as3/ok/new.as
+++ b/
lib/as3/ok/new.as
@@
-2,7
+2,7
@@
package some.other.packag3 {
public class Class4 {
public function Class4(x=1) {
if(x) {
public class Class4 {
public function Class4(x=1) {
if(x) {
- trace("ok 4/4");
+ trace("ok 4/6");
return new Class4(0);
}
}
return new Class4(0);
}
}
@@
-12,12
+12,12
@@
package some.other.packag3 {
package {
public class Class1 {
public function Class1() {
package {
public class Class1 {
public function Class1() {
- trace("ok 1/4");
+ trace("ok 1/6");
}
}
public class Class2 {
public function Class2() {
}
}
public class Class2 {
public function Class2() {
- trace("ok 2/4");
+ trace("ok 2/6");
}
}
public class Class3 {
}
}
public class Class3 {
@@
-26,14
+26,30
@@
package {
}
}
}
}
+ public class Class5 {
+ public function Class5() {
+ trace("ok 5/6")
+ }
+ }
+ public class Class6 {
+ public function Class6() {
+ trace("ok 6/6")
+ }
+ }
+
import flash.display.MovieClip
public class Main extends flash.display.MovieClip {
public function Main() {
new Class1()
new Class2
import flash.display.MovieClip
public class Main extends flash.display.MovieClip {
public function Main() {
new Class1()
new Class2
- new Class3(0,"ok 3/4")
+ new Class3(0,"ok 3/6")
import some.other.packag3.Class4
new Class4();
import some.other.packag3.Class4
new Class4();
+
+ var x = Class5;
+ new Class5;
+ var y:Class = Class6;
+ new Class6();
}
}
}
}
}
}