[Nice-commit] Nice/src/gnu/expr Compilation.java,1.24,1.25
Brought to you by:
bonniot
From: Arjan B. <ar...@us...> - 2004-09-03 18:24:42
|
Update of /cvsroot/nice/Nice/src/gnu/expr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5243/F:/nice/src/gnu/expr Modified Files: Compilation.java Log Message: Silenced superfluous 'cannot convert literal' warnings. Index: Compilation.java =================================================================== RCS file: /cvsroot/nice/Nice/src/gnu/expr/Compilation.java,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** Compilation.java 11 Jun 2004 05:01:39 -0000 1.24 --- Compilation.java 3 Sep 2004 18:24:33 -0000 1.25 *************** *** 472,476 **** catch (Exception ex) { ! error('w', "cannot convert literal (of type " + value.getClass().getName() + ") to " + type.getName()); --- 472,477 ---- catch (Exception ex) { ! if (value != Values.empty) ! error('w', "cannot convert literal (of type " + value.getClass().getName() + ") to " + type.getName()); |