Thu, 03 Feb 2011 09:36:28 +0000
5017953: spurious cascaded diagnostics when name not found
Summary: when an operator is applied to one or more erroneous operands, spurious diagnostics are generated
Reviewed-by: jjg
1 BadTwr.java:13:39: compiler.err.already.defined: r1, main(java.lang.String...)
2 BadTwr.java:18:13: compiler.err.already.defined: args, main(java.lang.String...)
3 BadTwr.java:21:13: compiler.err.cant.assign.val.to.final.var: thatsIt
4 BadTwr.java:26:17: compiler.err.already.defined: name, main(java.lang.String...)
5 4 errors