This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: Java compound assignment -vs- non-String LHS


>> (FWIW I'm not certain that this is the best possible error message
>> to give.  I'm happy to change it if you have a different
>> preference.)

Alex> How about:

This looks good but it should say "Incompatible", not "Incompatibly":

Alex> +     "Incompatibly type for `+='. Can't convert `java.lang.String' to `%s'",

I usually put two spaces after a period.  This is a rule I learned in
typing class a long time ago.  It is also enshrined in the GNU coding
standards (for comments anyway).

Tom

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]