[Nice-commit] Nice/src/bossa/syntax NiceMethod.java,1.34,1.35
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-03-16 13:00:22
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22042/src/bossa/syntax Modified Files: NiceMethod.java Log Message: Give more precise information in case of contravariant overriding. Index: NiceMethod.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/NiceMethod.java,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** NiceMethod.java 15 Mar 2004 15:27:15 -0000 1.34 --- NiceMethod.java 16 Mar 2004 12:51:03 -0000 1.35 *************** *** 240,244 **** User.error (returnTypeLocation != null ? returnTypeLocation : location(), ! "The return type is less precise than the original return type defined in:\n" + d.location()); } --- 240,245 ---- User.error (returnTypeLocation != null ? returnTypeLocation : location(), ! "The return type is less precise than the original return type of method\n" + ! d + "\ndefined in:\n" + d.location()); } |