Nice/testsuite/compiler/expressions conditional.testsuite,1.4,1.5
Daniel Bonniot <[email protected]> Mon, 21 Mar 2005 17:13:46 +0000
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/testsuite/compiler/expressions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31329/testsuite/compiler/expressions
Modified Files:
conditional.testsuite
Log Message:
Reworked the testcase to have a real ambiguity in the conditional.
Index: conditional.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/expressions/conditional.testsuite,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** conditional.testsuite 18 Jan 2004 18:33:42 -0000 1.4
--- conditional.testsuite 21 Mar 2005 17:13:42 -0000 1.5
***************
*** 7,14 ****
/// FAIL
/// Toplevel
! int nameX() = 0;
! byte nameX() = 1;
! int dummy() = false ? 0 : nameX;
/// PASS
--- 7,14 ----
/// FAIL
+ let dummy = false ? 0 : /*/// FAIL HERE */ nameX;
/// Toplevel
! let int nameX = 0;
! let String nameX = "";
/// PASS
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click