Update of /cvsroot/nice/Nice/testsuite/compiler/methods
In directory sc8-pr-cvs1:/tmp/cvs-serv3930/testsuite/compiler/methods
Modified Files:
primitive.testsuite
Log Message:
Fixed 'instanceof Array' tests for values that are statically known to be
arrays (they could still be null).
Index: primitive.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/primitive.testsuite,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** primitive.testsuite 19 Dec 2003 00:48:25 -0000 1.4
--- primitive.testsuite 19 Dec 2003 02:12:34 -0000 1.5
***************
*** 20,24 ****
foo(/*/// FAIL HERE */n<3) {}
! /// PASS bug
assert foo(['a']);
/// Toplevel
--- 20,24 ----
foo(/*/// FAIL HERE */n<3) {}
! /// PASS
assert foo(['a']);
/// Toplevel
|