[Nice-commit] Nice/testsuite/compiler/methods integer.testsuite,1.4,1.5
Brought to you by:
bonniot
|
From: <bo...@us...> - 2003-04-27 14:26:30
|
Update of /cvsroot/nice/Nice/testsuite/compiler/methods
In directory sc8-pr-cvs1:/tmp/cvs-serv10307/testsuite/compiler/methods
Modified Files:
integer.testsuite
Log Message:
Simplified the testcase, by removing unessential code.
Index: integer.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/integer.testsuite,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** integer.testsuite 27 Apr 2003 09:45:15 -0000 1.4
--- integer.testsuite 27 Apr 2003 14:26:26 -0000 1.5
***************
*** 87,98 ****
/// PASS
/// Toplevel
- abstract class Wrapped { }
- class WrappedFoo extends Wrapped { String foo; }
- class WrappedBar extends Wrapped { String bar; }
-
- String getStr(int i, Wrapped f);
- getStr(i, f@Wrapped) = "failed";
- getStr(i, f@WrappedFoo) = getStr(i, f.foo);
-
String getStr(int i, String str);
getStr(0, str@String) = "no "+str;
--- 87,90 ----
|