regressions in error message formatting
Per Bothner
per@bothner.com
Mon Sep 13 01:05:00 GMT 2004
I noticed various error messages had reverted to using
old-style accent grave in place of single quotes. I.e.
PR163.java:7: error: final field 'foo' may not have been initialized
became:
PR163.java:7: error: final field `foo' may not have been initialized
This was well-meaningly fixed by Ranjit Mathew on 2004年07月04日,
I assume to be consistent with other error message. Unfortunately,
the fix is in the wrong direction: The old convention was to
quote variables `thus' but this is ugly in modern fonts and is
not considered correct use of the accent grave charecter.
At some point we'll fix all the error messages, but let's at
least not make things worse.
Furthermore, it appears some error messages were changed
to start with a capital letter (see the final_assign_error
function). I don't believe that is consistent with our
error message conventions.
Since this is a regression, I think we should try to fix
this for 4.0.0. If it is easier to fix all of them, rather
than just the ones that have changed, that is fine IMO.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
More information about the Java
mailing list