Update of /cvsroot/nice/Nice/src/bossa/syntax
In directory sc8-pr-cvs1:/tmp/cvs-serv6609/src/bossa/syntax
Modified Files:
NewExp.java
Log Message:
Clarified error message.
Index: NewExp.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/syntax/NewExp.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** NewExp.java 16 Dec 2003 12:34:33 -0000 1.37
--- NewExp.java 21 Dec 2003 02:50:55 -0000 1.38
***************
*** 69,74 ****
{
if (tc.arity() > 0)
! User.error(this, "Class " + tc + " has no constructor with the correct number of " +
! tc.arity() + " type parameters.\nA retyping is needed to use this constructor.");
else
User.error(this, "Class " + tc + " has no constructor");
--- 69,75 ----
{
if (tc.arity() > 0)
! User.error(this, "Class " + tc + " has no constructor with " +
! tc.arity() + " type parameters.\n" +
! "A retyping is needed to use this constructor.");
else
User.error(this, "Class " + tc + " has no constructor");
|