git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed type coercing in ? :
[swftools.git]
/
lib
/
as3
/
ok
/
arrays.as
diff --git
a/lib/as3/ok/arrays.as
b/lib/as3/ok/arrays.as
index
9622a7a
..
c56c34d
100644
(file)
--- a/
lib/as3/ok/arrays.as
+++ b/
lib/as3/ok/arrays.as
@@
-14,7
+14,12
@@
package {
if(b[0]==1) trace("ok 5/8");
if(b[1]==2) trace("ok 6/8");
if(b[2]==3) trace("ok 7/8");
if(b[0]==1) trace("ok 5/8");
if(b[1]==2) trace("ok 6/8");
if(b[2]==3) trace("ok 7/8");
- if(b.length=3) trace("ok 8/8");
+ if(b.length==3) trace("ok 8/8");
+
+ // test for ]+<int> parser bug:
+ var check = (3 == a[0]+1);
+
+ trace("[exit]");
}
}
}
}
}
}