nice-commit Mailing List for The Nice Programming Language (Page 12)
Brought to you by:
bonniot
You can subscribe to this list here.
2003 |
Jan
|
Feb
(60) |
Mar
(125) |
Apr
(183) |
May
(140) |
Jun
(227) |
Jul
(141) |
Aug
(181) |
Sep
(75) |
Oct
(89) |
Nov
(187) |
Dec
(162) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(69) |
Feb
(197) |
Mar
(98) |
Apr
(26) |
May
(10) |
Jun
(85) |
Jul
(88) |
Aug
(79) |
Sep
(80) |
Oct
(81) |
Nov
(53) |
Dec
(109) |
2005 |
Jan
(68) |
Feb
(77) |
Mar
(232) |
Apr
(79) |
May
(37) |
Jun
(37) |
Jul
(3) |
Aug
(18) |
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
(10) |
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(9) |
2007 |
Jan
(2) |
Feb
(8) |
Mar
(2) |
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
|
Oct
|
Nov
(17) |
Dec
(6) |
2008 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Daniel B. <bo...@us...> - 2005-03-22 10:55:15
|
Update of /cvsroot/nice/Nice/testsuite/compiler/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1446/testsuite/compiler/syntax Modified Files: comments.testsuite Log Message: Localize error message for unclosed comments. Index: comments.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/syntax/comments.testsuite,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** comments.testsuite 2 Dec 2003 00:45:49 -0000 1.2 --- comments.testsuite 22 Mar 2005 10:55:05 -0000 1.3 *************** *** 1,4 **** /// FAIL ! /* Untermintated comment! /// PASS --- 1,7 ---- /// FAIL ! /* /// FAIL HERE */ /* Untermintated comment! ! ! /// FAIL ! /* /// FAIL HERE */ /** Untermintated doc comment! /// PASS |
From: Daniel B. <bo...@us...> - 2005-03-21 21:46:19
|
Update of /cvsroot/nice/Nice/testsuite/compiler/methods In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30712/testsuite/compiler/methods Modified Files: nativeOverride.testsuite coverage.testsuite Log Message: Marked testcases that don't have an obvious error location with no-location. Index: coverage.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/coverage.testsuite,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** coverage.testsuite 13 Mar 2005 15:27:41 -0000 1.7 --- coverage.testsuite 21 Mar 2005 21:46:08 -0000 1.8 *************** *** 1,6 **** ! /// FAIL /// Toplevel class B implements nice.lang.Comparable { ! // `<` not implemented } --- 1,6 ---- ! /// FAIL no-location /// Toplevel class B implements nice.lang.Comparable { ! // `<` not implemented } Index: nativeOverride.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/nativeOverride.testsuite,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** nativeOverride.testsuite 13 Mar 2005 15:27:42 -0000 1.11 --- nativeOverride.testsuite 21 Mar 2005 21:46:08 -0000 1.12 *************** *** 149,153 **** /*/// FAIL HERE */ toString(String s) = ""; ! /// FAIL /// COMMENT Ambiguity for equals(B,B) /// Toplevel --- 149,153 ---- /*/// FAIL HERE */ toString(String s) = ""; ! /// FAIL no-location /// COMMENT Ambiguity for equals(B,B) /// Toplevel *************** *** 162,166 **** } ! /// FAIL /// Toplevel class A implements Runnable --- 162,166 ---- } ! /// FAIL no-location /// Toplevel class A implements Runnable *************** *** 173,177 **** } ! /// FAIL /// Toplevel class A extends java.lang.Number --- 173,177 ---- } ! /// FAIL no-location /// Toplevel class A extends java.lang.Number |
From: Daniel B. <bo...@us...> - 2005-03-21 21:46:17
|
Update of /cvsroot/nice/Nice/testsuite/compiler/native In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30712/testsuite/compiler/native Modified Files: implementation.testsuite Log Message: Marked testcases that don't have an obvious error location with no-location. Index: implementation.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/native/implementation.testsuite,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** implementation.testsuite 24 Feb 2004 14:25:03 -0000 1.1 --- implementation.testsuite 21 Mar 2005 21:46:06 -0000 1.2 *************** *** 1,3 **** ! /// FAIL new A().run(); /// Toplevel --- 1,3 ---- ! /// FAIL no-location new A().run(); /// Toplevel *************** *** 6,10 **** } ! /// FAIL new A().getValueAt(0, 0); /// Toplevel --- 6,10 ---- } ! /// FAIL no-location new A().getValueAt(0, 0); /// Toplevel *************** *** 13,17 **** } ! /// FAIL bug new A().getValueAt(0, 0); /// Toplevel --- 13,17 ---- } ! /// FAIL no-location bug new A().getValueAt(0, 0); /// Toplevel |
From: Daniel B. <bo...@us...> - 2005-03-21 21:26:15
|
Update of /cvsroot/nice/Nice/src/nice/tools/testsuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21106/src/nice/tools/testsuite Modified Files: TestSuite.java TestCase.java FailTestCase.java Log Message: Added support for the no-location testcase keyword. Index: TestSuite.java =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/testsuite/TestSuite.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** TestSuite.java 11 Jun 2003 18:15:53 -0000 1.16 --- TestSuite.java 21 Mar 2005 21:25:57 -0000 1.17 *************** *** 181,184 **** --- 181,191 ---- } + boolean noLocation = false; + if (type.endsWith(" no-location")) + { + noLocation = true; + type = type.substring(0, type.length() - "no-location".length()).trim(); + } + TestCase res; if (TESTCASE_TYPE_PASS.equalsIgnoreCase(type)) *************** *** 191,194 **** --- 198,202 ---- res.skip = skip; res.isKnownBug = isKnownBug; + res.noLocation = noLocation; return res; } Index: TestCase.java =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/testsuite/TestCase.java,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** TestCase.java 23 Feb 2005 16:58:09 -0000 1.32 --- TestCase.java 21 Mar 2005 21:25:57 -0000 1.33 *************** *** 101,104 **** --- 101,105 ---- boolean isKnownBug; boolean skip; + boolean noLocation; Index: FailTestCase.java =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/testsuite/FailTestCase.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** FailTestCase.java 12 Mar 2005 10:41:37 -0000 1.13 --- FailTestCase.java 21 Mar 2005 21:25:57 -0000 1.14 *************** *** 43,47 **** compilePackages(); } catch(TestSuiteException e) { ! if (getFailPositions().isEmpty()) { TestNice.getOutput().log("warning", "Failure position not checked"); warning(); --- 43,47 ---- compilePackages(); } catch(TestSuiteException e) { ! if (! noLocation && getFailPositions().isEmpty()) { TestNice.getOutput().log("warning", "Failure position not checked"); warning(); |
From: Arjan B. <ar...@us...> - 2005-03-21 17:38:05
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9994/F:/nice/src/bossa/syntax Modified Files: constant.nice Log Message: Fixed bug in pretty printing char constants. Index: constant.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/constant.nice,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** constant.nice 12 Mar 2005 16:26:14 -0000 1.17 --- constant.nice 21 Mar 2005 17:37:41 -0000 1.18 *************** *** 320,327 **** User.error(value, "Invalid character constant: " + value); ! return createCharConstant(s[0], value.location()); } ! public ConstantExp createCharConstant(char value, Location loc) { let res = new CharConstantExp(tc: nice.tools.typing.PrimitiveType.charTC, --- 320,332 ---- User.error(value, "Invalid character constant: " + value); ! let res = new CharConstantExp(tc: nice.tools.typing.PrimitiveType.charTC, ! value: s[0], representation: "'" + value + "'"); ! ! res.type = nice.tools.typing.PrimitiveType.charPolytype; ! res.setLocation(value.location()); ! return res; } ! ConstantExp createCharConstant(char value, Location loc) { let res = new CharConstantExp(tc: nice.tools.typing.PrimitiveType.charTC, |
From: Arjan B. <ar...@us...> - 2005-03-21 17:37:54
|
Update of /cvsroot/nice/Nice/testsuite/compiler In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9994/F:/nice/testsuite/compiler Modified Files: globalVariables.testsuite Log Message: Fixed bug in pretty printing char constants. Index: globalVariables.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/globalVariables.testsuite,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** globalVariables.testsuite 21 Mar 2005 16:33:27 -0000 1.20 --- globalVariables.testsuite 21 Mar 2005 17:37:41 -0000 1.21 *************** *** 113,117 **** {} ! /// PASS bug /// package a /// TOPLEVEL --- 113,117 ---- {} ! /// PASS /// package a /// TOPLEVEL |
From: Daniel B. <bo...@us...> - 2005-03-21 17:37:50
|
Update of /cvsroot/nice/Nice/testsuite/compiler/native In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9965/testsuite/compiler/native Modified Files: class.testsuite Log Message: Added failure locations. Index: class.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/native/class.testsuite,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** class.testsuite 12 Mar 2005 19:24:45 -0000 1.4 --- class.testsuite 21 Mar 2005 17:37:38 -0000 1.5 *************** *** 28,32 **** /// FAIL /// Toplevel ! Class<String> unsafe(Class c) = c; /// PASS --- 28,32 ---- /// FAIL /// Toplevel ! Class<String> unsafe(Class c) = /* /// FAIL HERE */ c; /// PASS |
From: Daniel B. <bo...@us...> - 2005-03-21 17:28:06
|
Update of /cvsroot/nice/tester In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5631 Modified Files: Flow4j.test Log Message: Avoid cache effects Index: Flow4j.test =================================================================== RCS file: /cvsroot/nice/tester/Flow4j.test,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Flow4j.test 16 Mar 2004 11:14:44 -0000 1.5 --- Flow4j.test 21 Mar 2005 17:27:55 -0000 1.6 *************** *** 12,16 **** if [ ! -r flow4j ]; then if [ ! -r ${SOURCES} ]; then ! wget http://nice.sf.net/tests/${SOURCES} fi mkdir flow4j --- 12,16 ---- if [ ! -r flow4j ]; then if [ ! -r ${SOURCES} ]; then ! wget --cache=off http://nice.sf.net/tests/${SOURCES} fi mkdir flow4j |
From: Daniel B. <bo...@us...> - 2005-03-21 17:23:49
|
Update of /cvsroot/nice/Nice/testsuite/compiler/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3418/testsuite/compiler/functions Modified Files: return.testsuite Log Message: Added failure locations. Index: return.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/functions/return.testsuite,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** return.testsuite 22 Feb 2005 10:26:36 -0000 1.4 --- return.testsuite 21 Mar 2005 17:23:34 -0000 1.5 *************** *** 28,32 **** ///Toplevel String f(String b) { ! while (true) { try { if (b == "") --- 28,32 ---- ///Toplevel String f(String b) { ! /* /// FAIL HERE */ while (true) { try { if (b == "") |
From: Daniel B. <bo...@us...> - 2005-03-21 17:23:45
|
Update of /cvsroot/nice/Nice/testsuite/compiler/statements/flow In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3418/testsuite/compiler/statements/flow Modified Files: reachability.testsuite Log Message: Added failure locations. Index: reachability.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/statements/flow/reachability.testsuite,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** reachability.testsuite 22 Feb 2005 10:26:33 -0000 1.8 --- reachability.testsuite 21 Mar 2005 17:23:32 -0000 1.9 *************** *** 45,49 **** /// FAIL ! `assert`(); /// PASS --- 45,49 ---- /// FAIL ! /*/// FAIL HERE */ `assert`(); /// PASS |
From: Daniel B. <bo...@us...> - 2005-03-21 17:13:53
|
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 |
From: Daniel B. <bo...@us...> - 2005-03-21 16:56:13
|
Update of /cvsroot/nice/Nice/testsuite/compiler/null In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22259/testsuite/compiler/null Modified Files: functions.testsuite Log Message: Improved location of redundant nullness markers errors. Removed dubious testcases and added clear ones. Index: functions.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/null/functions.testsuite,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** functions.testsuite 25 Jul 2002 15:23:37 -0000 1.1 --- functions.testsuite 21 Mar 2005 16:55:35 -0000 1.2 *************** *** 3,11 **** /// PASS ! /// COMMENT: Maybe this should not be allowed. ! ?(int)->int f = null; ! /// FAIL ! /// COMMENT: Redondant nullness qualifier. ! ?(int)?->int f; --- 3,13 ---- /// PASS ! ?(int->int) f = null; ! /// PASS ! ?int?->int f = null; ! f = ?int x => 0; + /// FAIL + // Redundant nullness qualifier. + /*/// FAIL HERE */ ?(int?->int) f; |
From: Daniel B. <bo...@us...> - 2005-03-21 16:55:52
|
Update of /cvsroot/nice/Nice/src/bossa/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22259/src/bossa/parser Modified Files: Parser.jj Log Message: Improved location of redundant nullness markers errors. Removed dubious testcases and added clear ones. Index: Parser.jj =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/parser/Parser.jj,v retrieving revision 1.320 retrieving revision 1.321 diff -C2 -d -r1.320 -r1.321 *** Parser.jj 12 Mar 2005 17:03:53 -0000 1.320 --- Parser.jj 21 Mar 2005 16:55:35 -0000 1.321 *************** *** 802,806 **** Monotype res; List p=null; ! Token start, end; boolean maybe = false, sure = false; } --- 802,806 ---- Monotype res; List p=null; ! Token start = null, end; boolean maybe = false, sure = false; } *************** *** 809,814 **** // Consume "?" only if it does not appear by itself LOOKAHEAD( "?", { getToken(2).kind != COMMA && getToken(2).kind != GT}) ! "?" { maybe = true; } ! | "!" { sure = true; } ] --- 809,814 ---- // Consume "?" only if it does not appear by itself LOOKAHEAD( "?", { getToken(2).kind != COMMA && getToken(2).kind != GT}) ! start="?" { maybe = true; } ! | start="!" { sure = true; } ] *************** *** 831,835 **** (res.nullness != /*absent*/3)) throw bossa.util.User.error ! (res, "Nullness is specified in two ways for " + res); if (maybe) res.nullness = /*maybe*/1; --- 831,835 ---- (res.nullness != /*absent*/3)) throw bossa.util.User.error ! (makeLocation(start), "Nullness is specified in two ways for " + res); if (maybe) res.nullness = /*maybe*/1; |
From: Daniel B. <bo...@us...> - 2005-03-21 16:33:37
|
Update of /cvsroot/nice/Nice/testsuite/compiler In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12143 Modified Files: globalVariables.testsuite Log Message: Test \n in toplevel values. Index: globalVariables.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/globalVariables.testsuite,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** globalVariables.testsuite 12 Mar 2005 19:24:43 -0000 1.19 --- globalVariables.testsuite 21 Mar 2005 16:33:27 -0000 1.20 *************** *** 113,116 **** --- 113,130 ---- {} + /// PASS bug + /// package a + /// TOPLEVEL + let char x = '\n'; + /// package b import a + {} + + /// PASS + /// package a + /// TOPLEVEL + let String x = "\n\r"; + /// package b import a + {} + /// PASS check(); |
From: Daniel B. <bo...@us...> - 2005-03-21 15:13:30
|
Update of /cvsroot/nice/Nice/testsuite/compiler/expressions/operators In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5027/testsuite/compiler/expressions/operators Modified Files: boolean.testsuite Log Message: Finished ignoring the -> boolean implication operator. Index: boolean.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/expressions/operators/boolean.testsuite,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** boolean.testsuite 17 Jul 2003 23:14:37 -0000 1.5 --- boolean.testsuite 21 Mar 2005 15:13:19 -0000 1.6 *************** *** 89,94 **** // assert true->false||true; // assert true->(false->true); ! ! /// FAIL // non associative boolean b = true->true->true; --- 89,94 ---- // assert true->false||true; // assert true->(false->true); ! ! /// FAIL bug skip // non associative boolean b = true->true->true; |
From: Artem Gr K. <ar...@us...> - 2005-03-16 07:48:17
|
Update of /cvsroot/nice/Nice/testsuite/compiler/packages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2337/testsuite/compiler/packages Added Files: static.testsuite Log Message: BUG 1163887 --- NEW FILE: static.testsuite --- /// COMMENT Static variables from different packages should not clash. /// PASS /// package a dontcompile /// Toplevel void fun( StringBuffer buf ) = buf.append( STATIC_STRING ); let String STATIC_STRING = "foo1"; let String[] STATIC_ARRAY = [ "foo1", "bar1" ]; /// package b dontcompile /// Toplevel void fun( StringBuffer buf ) = buf.append( STATIC_STRING ); let String STATIC_STRING = "foo2"; let String[] STATIC_ARRAY = [ "foo2", "bar2" ]; /// package c import a,b /// Toplevel void notUsed() {} |
From: Artem Gr K. <ar...@us...> - 2005-03-15 09:58:50
|
Update of /cvsroot/nice/Nice In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11854 Modified Files: build.xml Log Message: Visibility modifiers for the generated "dateBuild.nice". Index: build.xml =================================================================== RCS file: /cvsroot/nice/Nice/build.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** build.xml 7 Mar 2005 20:44:33 -0000 1.7 --- build.xml 15 Mar 2005 09:58:33 -0000 1.8 *************** *** 88,91 **** --- 88,92 ---- <!-- Find an existing "nice.jar". --> + <!-- Fresh "nice.jar" is usually available at "http://nice.sourceforge.net/nice.jar". --> <target name="envNicec1" if="env.NICEPATH"> <property name="NICE_JAR" value="${env.NICEPATH}${file.separator}nice.jar" /> *************** *** 180,190 **** <property name="version" value="0.9.11 prerelease" /> <property name="to" value="src/nice/tools/compiler/dateBuild.nice" /> <tstamp> <format property="NICE_DATE" timezone="UTC" pattern="yyyy.MM.dd, HH:mm:ss zzz" /> </tstamp> <echo file="${to}" append="no" message="package nice.tools.compiler; " /> ! <echo file="${to}" append="yes" message="let String versionNumber = "${version}"; " /> ! <echo file="${to}" append="yes" message="let String buildDate = "${NICE_DATE}"; " /> ! <echo file="${to}" append="yes" message="let String javaVersion = "${java.version}"; " /> <manifest file="src/nice/tools/compiler/Manifest"> <attribute name="Main-Class" value="nice.tools.compiler.console.fun" /> --- 181,192 ---- <property name="version" value="0.9.11 prerelease" /> <property name="to" value="src/nice/tools/compiler/dateBuild.nice" /> + <property name="LET" value="public let String" /> <tstamp> <format property="NICE_DATE" timezone="UTC" pattern="yyyy.MM.dd, HH:mm:ss zzz" /> </tstamp> <echo file="${to}" append="no" message="package nice.tools.compiler; " /> ! <echo file="${to}" append="yes" message="${LET} versionNumber = "${version}"; " /> ! <echo file="${to}" append="yes" message="${LET} buildDate = "${NICE_DATE}"; " /> ! <echo file="${to}" append="yes" message="${LET} javaVersion = "${java.version}"; " /> <manifest file="src/nice/tools/compiler/Manifest"> <attribute name="Main-Class" value="nice.tools.compiler.console.fun" /> |
From: Arjan B. <ar...@us...> - 2005-03-13 15:28:37
|
Update of /cvsroot/nice/Nice/testsuite/compiler/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25445/F:/nice/testsuite/compiler/functions Modified Files: anonymous.testsuite Log Message: Added the rest of the obvious failure locations. Index: anonymous.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/functions/anonymous.testsuite,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** anonymous.testsuite 15 Dec 2003 19:06:29 -0000 1.10 --- anonymous.testsuite 13 Mar 2005 15:27:41 -0000 1.11 *************** *** 2,6 **** // Incorrect call of an anonymous function stored in a variable boolean -> void f = boolean b => {}; ! f(); /// FAIL --- 2,6 ---- // Incorrect call of an anonymous function stored in a variable boolean -> void f = boolean b => {}; ! /*/// FAIL HERE */ f(); /// FAIL *************** *** 9,13 **** void g(boolean -> void f) { ! f(); } --- 9,13 ---- void g(boolean -> void f) { ! /*/// FAIL HERE */ f(); } *************** *** 16,23 **** /// FAIL ! int->int f = int x => { if (true) return 0; }; /// FAIL ! int->void f = int x => { if (true) return 0; }; /// PASS --- 16,23 ---- /// FAIL ! int->int f = /*/// FAIL HERE */ int x => { if (true) return 0; }; /// FAIL ! int->void f = /*/// FAIL HERE */ int x => { if (true) return 0; }; /// PASS *************** *** 73,81 **** /// FAIL ! int->String f = int i => { if (false) throw new Error(); }; /// FAIL /// Toplevel ! <T> void foo(T->int f = T x => x) {} /// PASS --- 73,81 ---- /// FAIL ! int->String /*/// FAIL HERE */ f = int i => { if (false) throw new Error(); }; /// FAIL /// Toplevel ! <T> void foo(T->int /*/// FAIL HERE */ f = T x => x) {} /// PASS |
From: Arjan B. <ar...@us...> - 2005-03-13 15:28:37
|
Update of /cvsroot/nice/Nice/testsuite/compiler/classes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25445/F:/nice/testsuite/compiler/classes Modified Files: native.testsuite typeParameters.testsuite variance.testsuite Log Message: Added the rest of the obvious failure locations. Index: variance.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/variance.testsuite,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** variance.testsuite 30 Apr 2003 21:58:38 -0000 1.2 --- variance.testsuite 13 Mar 2005 15:27:40 -0000 1.3 *************** *** 1,3 **** ! /// FAIL /// Toplevel interface X{} --- 1,6 ---- ! /// FAIL bug ! B<X> b1 = new B(param: new A()); ! B<Y> b2 = b1; ! b2.param.foo(); /// Toplevel interface X{} *************** *** 9,15 **** T param; } - public void main(String[] args){ - B<X> b1 = new B(param: new A()); - B<Y> b2 = b1; - b2.param.foo(); - } --- 12,13 ---- Index: typeParameters.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/typeParameters.testsuite,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** typeParameters.testsuite 1 Mar 2005 18:56:19 -0000 1.21 --- typeParameters.testsuite 13 Mar 2005 15:27:40 -0000 1.22 *************** *** 28,32 **** /// FAIL ! Coord<Point> dummy = new Coord(p: ""); /// Toplevel class Point { int x; } --- 28,32 ---- /// FAIL ! Coord<Point> dummy = /*/// FAIL HERE */ new Coord(p: ""); /// Toplevel class Point { int x; } *************** *** 38,42 **** /// FAIL ! Coord<String> c = new Coord(); /// Toplevel class Point { int x; } --- 38,42 ---- /// FAIL ! Coord<String> /*/// FAIL HERE */ c = new Coord(); /// Toplevel class Point { int x; } *************** *** 46,50 **** /// FAIL /// COMMENT class constraints must be "inherited" by subclasses. ! Coord<String> c = new Coord2(); /// Toplevel class Point { int x; } --- 46,50 ---- /// FAIL /// COMMENT class constraints must be "inherited" by subclasses. ! Coord<String> /*/// FAIL HERE */ c = new Coord2(); /// Toplevel class Point { int x; } *************** *** 156,160 **** } /// package b import a ! Elem<List<Sting>> dummy = new Elem(data: ""); /// PASS --- 156,160 ---- } /// package b import a ! Elem<List<String>> dummy = /*/// FAIL HERE */ new Elem(data: ""); /// PASS *************** *** 306,310 **** // bug #992007 /// Toplevel ! <A,B | B <: A> class Foo<B,X> { A a; --- 306,310 ---- // bug #992007 /// Toplevel ! <A,B | B <: A> class Foo /*/// FAIL HERE */ <B,X> { A a; *************** *** 328,332 **** /// FAIL A<String> a = new A(x: null); ! String s = a.x; /// Toplevel --- 328,332 ---- /// FAIL A<String> a = new A(x: null); ! String /*/// FAIL HERE */ s = a.x; /// Toplevel *************** *** 349,353 **** /// FAIL ! A<String> a = new A(x: null); /// Toplevel --- 349,353 ---- /// FAIL ! A<String> a = /*/// FAIL HERE */ new A(x: null); /// Toplevel *************** *** 372,374 **** /// Toplevel class A<T> {} ! class B<T> extends A<U> {} --- 372,374 ---- /// Toplevel class A<T> {} ! class B<T> extends A< /*/// FAIL HERE */ U> {} Index: native.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/native.testsuite,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** native.testsuite 1 Mar 2005 18:56:19 -0000 1.10 --- native.testsuite 13 Mar 2005 15:27:40 -0000 1.11 *************** *** 14,18 **** /// Toplevel // java.util.Map is already retyped, with two type parameters ! interface MyMutableArray<Element> = native java.util.Map; /// COMMENT Retype two java classes, when one refers to the other. --- 14,18 ---- /// Toplevel // java.util.Map is already retyped, with two type parameters ! interface /*/// FAIL HERE */ MyMutableArray<Element> = native java.util.Map; /// COMMENT Retype two java classes, when one refers to the other. *************** *** 32,36 **** /// FAIL /// Toplevel ! class Int = native int; /// PASS --- 32,36 ---- /// FAIL /// Toplevel ! class /*/// FAIL HERE */ Int = native int; /// PASS |
From: Arjan B. <ar...@us...> - 2005-03-13 15:28:19
|
Update of /cvsroot/nice/Nice/testsuite/compiler/abstractInterfaces In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25445/F:/nice/testsuite/compiler/abstractInterfaces Modified Files: existingClass.testsuite Log Message: Added the rest of the obvious failure locations. Index: existingClass.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/abstractInterfaces/existingClass.testsuite,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** existingClass.testsuite 1 Mar 2005 18:56:18 -0000 1.11 --- existingClass.testsuite 13 Mar 2005 15:27:40 -0000 1.12 *************** *** 20,24 **** /// package b /// Toplevel ! class java.lang.String implements a.I; /// FAIL --- 20,24 ---- /// package b /// Toplevel ! class java.lang.String implements a /*/// FAIL HERE */ .I; /// FAIL *************** *** 28,37 **** /// package b import a /// Toplevel ! class java.lang.String implements I; /// FAIL /// Toplevel ! abstract interface I { void f(); } class java.lang.String implements I; --- 28,37 ---- /// package b import a /// Toplevel ! class java.lang.String implements /*/// FAIL HERE */ I; /// FAIL /// Toplevel ! abstract interface I { void /*/// FAIL HERE */ f(); } class java.lang.String implements I; *************** *** 59,63 **** } class java.io.File implements I; ! f(java.io.File f) = new java.io.File("foo"); /// PASS --- 59,63 ---- } class java.io.File implements I; ! f(java.io.File f) = /*/// FAIL HERE */ new java.io.File("foo"); /// PASS *************** *** 70,74 **** abstract interface AI {} // FileFilter is not a class ! class java.io.FileFilter implements AI; /// FAIL --- 70,74 ---- abstract interface AI {} // FileFilter is not a class ! class /*/// FAIL HERE */ java.io.FileFilter implements AI; /// FAIL *************** *** 76,80 **** abstract interface AI {} // String is not an interface ! interface java.lang.String implements AI; /// PASS --- 76,80 ---- abstract interface AI {} // String is not an interface ! interface /*/// FAIL HERE */ java.lang.String implements AI; /// PASS |
From: Arjan B. <ar...@us...> - 2005-03-13 15:27:54
|
Update of /cvsroot/nice/Nice/testsuite/lib/nice/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25445/F:/nice/testsuite/lib/nice/lang Modified Files: clone.testsuite numeric.testsuite Log Message: Added the rest of the obvious failure locations. Index: clone.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/lib/nice/lang/clone.testsuite,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** clone.testsuite 25 Aug 2003 18:09:09 -0000 1.4 --- clone.testsuite 13 Mar 2005 15:27:44 -0000 1.5 *************** *** 31,33 **** /// FAIL ! "abc".clone(); --- 31,33 ---- /// FAIL ! /*/// FAIL HERE */ "abc".clone(); Index: numeric.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/lib/nice/lang/numeric.testsuite,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** numeric.testsuite 8 Dec 2003 13:45:21 -0000 1.8 --- numeric.testsuite 13 Mar 2005 15:27:44 -0000 1.9 *************** *** 73,84 **** /// FAIL ! 1[0] = false; /// FAIL let int i = 1; ! i[0] = false; /// FAIL ! i[0] = false; /// Toplevel let int i = 1; --- 73,84 ---- /// FAIL ! /*/// FAIL HERE */ 1[0] = false; /// FAIL let int i = 1; ! /*/// FAIL HERE */ i[0] = false; /// FAIL ! /*/// FAIL HERE */ i[0] = false; /// Toplevel let int i = 1; |
From: Arjan B. <ar...@us...> - 2005-03-13 15:27:53
|
Update of /cvsroot/nice/Nice/testsuite/compiler/null In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25445/F:/nice/testsuite/compiler/null Modified Files: inference.testsuite Log Message: Added the rest of the obvious failure locations. Index: inference.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/null/inference.testsuite,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** inference.testsuite 12 Mar 2005 19:24:46 -0000 1.13 --- inference.testsuite 13 Mar 2005 15:27:43 -0000 1.14 *************** *** 140,144 **** if (x != null) x = x + ""; ! y = y + ""; --- 140,144 ---- if (x != null) x = x + ""; ! y = y /*/// FAIL HERE */ + ""; *************** *** 293,297 **** if (x1 != null && x2 != null) x1 = x1 + ""; ! y = y + ""; --- 293,297 ---- if (x1 != null && x2 != null) x1 = x1 + ""; ! y = y /*/// FAIL HERE */ + ""; *************** *** 328,332 **** ?String x1 = null; while ( (x1 = null) == null) ! x1 = x1 + ""; --- 328,332 ---- ?String x1 = null; while ( (x1 = null) == null) ! x1 = x1 /*/// FAIL HERE */ + ""; |
From: Arjan B. <ar...@us...> - 2005-03-13 15:27:53
|
Update of /cvsroot/nice/Nice/testsuite/lib/java/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25445/F:/nice/testsuite/lib/java/util Modified Files: collections.testsuite Log Message: Added the rest of the obvious failure locations. Index: collections.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/lib/java/util/collections.testsuite,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** collections.testsuite 1 Mar 2005 18:56:23 -0000 1.14 --- collections.testsuite 13 Mar 2005 15:27:43 -0000 1.15 *************** *** 51,55 **** List<B> list = new ArrayList(); A obj = new A(); ! list.contains(obj); /// Toplevel class A{} --- 51,55 ---- List<B> list = new ArrayList(); A obj = new A(); ! list. /*/// FAIL HERE */ contains(obj); /// Toplevel class A{} |
Update of /cvsroot/nice/Nice/testsuite/compiler/methods In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25445/F:/nice/testsuite/compiler/methods Modified Files: constrained.testsuite coverage.testsuite implementations.testsuite nativeOverride.testsuite overriding.testsuite super.testsuite Log Message: Added the rest of the obvious failure locations. Index: super.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/super.testsuite,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** super.testsuite 1 Mar 2005 18:56:21 -0000 1.15 --- super.testsuite 13 Mar 2005 15:27:42 -0000 1.16 *************** *** 86,90 **** m(#A a) = new A(); ! m(B b) = super; /// FAIL --- 86,90 ---- m(#A a) = new A(); ! m(B b) = /*/// FAIL HERE */ super; /// FAIL *************** *** 93,119 **** <A T> T m(T); ! m(a#A) = new A(); ! m(b#B) = super; /// FAIL /// Toplevel ! <Any T> T myclone(T) = native Object Object.clone(); ! myclone(a#A) = new A(); ! myclone(b#B) = super; /// FAIL /// Toplevel ! <Any T> T myclone(T) = native Object Object.clone(); class C extends java.text.DecimalFormat {} ! myclone(c#C) = super; /// FAIL /// Toplevel ! <Any T> T myclone(T) = native Object Object.clone(); ! myclone(a#A) = super; /// PASS --- 93,119 ---- <A T> T m(T); ! m(#A a) = new A(); ! m(#B b) = /*/// FAIL HERE */ super; /// FAIL /// Toplevel ! <T> T myclone(T) = native Object Object.clone(); ! myclone(#A a) = new A(); ! myclone(#B b) = /*/// FAIL HERE */ super; /// FAIL /// Toplevel ! <T> T myclone(T) = native Object Object.clone(); class C extends java.text.DecimalFormat {} ! myclone(#C c) = /*/// FAIL HERE */ super; /// FAIL /// Toplevel ! <T> T myclone(T) = native Object Object.clone(); ! myclone(#A a) = /*/// FAIL HERE */ super; /// PASS Index: coverage.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/coverage.testsuite,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** coverage.testsuite 1 Mar 2005 18:56:21 -0000 1.6 --- coverage.testsuite 13 Mar 2005 15:27:41 -0000 1.7 *************** *** 8,12 **** /// Toplevel abstract interface I { ! boolean fooI(alike); } --- 8,12 ---- /// Toplevel abstract interface I { ! boolean /*/// FAIL HERE */ fooI(alike); } *************** *** 21,25 **** /// Toplevel abstract interface I { ! boolean fooI(String); } --- 21,25 ---- /// Toplevel abstract interface I { ! boolean /*/// FAIL HERE */ fooI(String); } Index: constrained.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/constrained.testsuite,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** constrained.testsuite 1 Mar 2005 18:56:21 -0000 1.7 --- constrained.testsuite 13 Mar 2005 15:27:41 -0000 1.8 *************** *** 34,38 **** class X<T | A <: T> implements I<T>{} ! void foo(I<A>); /// FAIL --- 34,38 ---- class X<T | A <: T> implements I<T>{} ! void /*/// FAIL HERE */ foo(I<A>); /// FAIL *************** *** 46,50 **** class Y<T> implements I<T> {} ! void foo(I<A>, I<B>); foo(Y a, Y b) {} // @X,@Y is missing --- 46,50 ---- class Y<T> implements I<T> {} ! void /*/// FAIL HERE */ foo(I<A>, I<B>); foo(Y a, Y b) {} // @X,@Y is missing *************** *** 86,89 **** { // Use type parameter that does not exist in the declaration ! <U> f() {} } --- 86,89 ---- { // Use type parameter that does not exist in the declaration ! <U> /*/// FAIL HERE */ f() {} } Index: overriding.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/overriding.testsuite,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** overriding.testsuite 12 Feb 2005 17:48:39 -0000 1.12 --- overriding.testsuite 13 Mar 2005 15:27:42 -0000 1.13 *************** *** 172,176 **** class B extends A {} B foo(A x) = new B(); ! A foo(B x) = new A(); /// PASS --- 172,176 ---- class B extends A {} B foo(A x) = new B(); ! A /*/// FAIL HERE */ foo(B x) = new A(); /// PASS *************** *** 195,199 **** abstract class B extends A {} <A T> T foo(T x); ! <B T> A foo(T x); /// FAIL --- 195,199 ---- abstract class B extends A {} <A T> T foo(T x); ! <B T> /*/// FAIL HERE */ A foo(T x); /// FAIL *************** *** 202,206 **** abstract class B extends A {} <A T1, B U1> U1 foo(A a, T1 t, U1 u); ! <A T2, B U2> T2 foo(B b, T2 t, U2 u); /// PASS --- 202,206 ---- abstract class B extends A {} <A T1, B U1> U1 foo(A a, T1 t, U1 u); ! <A T2, B U2> /*/// FAIL HERE */ T2 foo(B b, T2 t, U2 u); /// PASS *************** *** 219,223 **** class B {} void foo(A a) {} ! override void foo(B b) {} /// PASS --- 219,223 ---- class B {} void foo(A a) {} ! override void /*/// FAIL HERE */ foo(B b) {} /// PASS *************** *** 242,246 **** <T> void foo(Collection<T> list) {} // This is NOT an override ! override void foo(List<int> list) {} /// FAIL --- 242,246 ---- <T> void foo(Collection<T> list) {} // This is NOT an override ! override void /*/// FAIL HERE */ foo(List<int> list) {} /// FAIL *************** *** 249,253 **** void foo(A<Object> x) {} // This is NOT an override ! override void foo(A<String> x) {} /// PASS --- 249,253 ---- void foo(A<Object> x) {} // This is NOT an override ! override void /*/// FAIL HERE */ foo(A<String> x) {} /// PASS Index: implementations.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/implementations.testsuite,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** implementations.testsuite 12 Mar 2005 19:24:45 -0000 1.20 --- implementations.testsuite 13 Mar 2005 15:27:41 -0000 1.21 *************** *** 30,34 **** interface _Map<K, V> {} ! <K, V0, V | V <: ?V0> ?V0 put(_Map<K, V>, V, K); class MapWrapper<K, V> implements _Map<K, V> {} --- 30,34 ---- interface _Map<K, V> {} ! <K, V0, V | V <: ?V0> ?V0 /*/// FAIL HERE */ put(_Map<K, V>, V, K); class MapWrapper<K, V> implements _Map<K, V> {} *************** *** 37,41 **** /// TOPLEVEL class A { ! void fA() {} // default implementation } --- 37,41 ---- /// TOPLEVEL class A { ! void /*/// FAIL HERE */ fA() {} // default implementation } *************** *** 65,69 **** void paint(java.awt.Graphics g); } ! paint(java.awt.Component p, g) { (notNull (g)).drawString("I love java", 20, 20); } --- 65,69 ---- void paint(java.awt.Graphics g); } ! /*/// FAIL HERE */ paint(java.awt.Component p, g) { (notNull (g)).drawString("I love java", 20, 20); } *************** *** 108,116 **** class A<T> {} class B<T> extends A<T> {} ! <T> void j(A<A<T>>); /// FAIL /// Toplevel ! void f(List<Array<String>>); /// PASS --- 108,116 ---- class A<T> {} class B<T> extends A<T> {} ! <T> void /*/// FAIL HERE */ j(A<A<T>>); /// FAIL /// Toplevel ! void /*/// FAIL HERE */ f(List<Array<String>>); /// PASS Index: nativeOverride.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/nativeOverride.testsuite,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** nativeOverride.testsuite 1 Mar 2005 18:56:21 -0000 1.10 --- nativeOverride.testsuite 13 Mar 2005 15:27:42 -0000 1.11 *************** *** 188,193 **** /// FAIL ! interface I{} ! equals(I x, I y) = true; /// PASS --- 188,194 ---- /// FAIL ! /// Toplevel ! interface I{} ! /*/// FAIL HERE */ equals(I x, I y) = true; /// PASS |
From: Arjan B. <ar...@us...> - 2005-03-13 15:27:51
|
Update of /cvsroot/nice/Nice/testsuite/compiler/native In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25445/F:/nice/testsuite/compiler/native Modified Files: import.testsuite Log Message: Added the rest of the obvious failure locations. Index: import.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/native/import.testsuite,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** import.testsuite 12 Sep 2003 21:35:24 -0000 1.3 --- import.testsuite 13 Mar 2005 15:27:42 -0000 1.4 *************** *** 10,14 **** /// COMMENT We are not importing java.text here. /// Toplevel ! void f(AttributedCharacterIterator.Attribute a) {} /// PASS --- 10,14 ---- /// COMMENT We are not importing java.text here. /// Toplevel ! void f(/*/// FAIL HERE */ AttributedCharacterIterator.Attribute a) {} /// PASS |