git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
char* -> const char*
[swftools.git]
/
lib
/
as3
/
ok
/
new.as
diff --git
a/lib/as3/ok/new.as
b/lib/as3/ok/new.as
index
448d506
..
5fcd2bb
100644
(file)
--- a/
lib/as3/ok/new.as
+++ b/
lib/as3/ok/new.as
@@
-2,22
+2,24
@@
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/6");
+ trace("ok 4/9");
new Class4(0);
}
}
}
new Class4(0);
}
}
}
+
+ public class Class9 {public function Class9() {trace("ok 9/9");}}
}
package {
public class Class1 {
public function Class1() {
}
package {
public class Class1 {
public function Class1() {
- trace("ok 1/6");
+ trace("ok 1/9");
}
}
public class Class2 {
public function Class2() {
}
}
public class Class2 {
public function Class2() {
- trace("ok 2/6");
+ trace("ok 2/9");
}
}
public class Class3 {
}
}
public class Class3 {
@@
-28,12
+30,22
@@
package {
public class Class5 {
public function Class5() {
public class Class5 {
public function Class5() {
- trace("ok 5/6")
+ trace("ok 5/9")
}
}
public class Class6 {
public function Class6() {
}
}
public class Class6 {
public function Class6() {
- trace("ok 6/6")
+ trace("ok 6/9")
+ }
+ }
+ public class Class7 {
+ public function Class7() {
+ trace("ok 7/9")
+ }
+ }
+ public class ClassX {
+ public function ClassX(x:uint) {
+ trace("ok "+x+"/9")
}
}
}
}
@@
-42,7
+54,7
@@
package {
public function Main() {
new Class1()
new Class2
public function Main() {
new Class1()
new Class2
- new Class3(0,"ok 3/6")
+ new Class3(0,"ok 3/9")
import some.other.packag3.Class4
new Class4();
import some.other.packag3.Class4
new Class4();
@@
-50,6
+62,14
@@
package {
new x;
var y:Class = Class6;
new y;
new x;
var y:Class = Class6;
new y;
+
+ var a = [Class7, ClassX];
+ new a[0];
+ new a[1](8);
+
+ new some.other.packag3.Class9;
+
+ trace("[exit]");
}
}
}
}
}
}