test/tools/javac/TryWithResources/BadTwrSyntax.out

Thu, 03 Feb 2011 09:36:28 +0000

author
mcimadamore
date
Thu, 03 Feb 2011 09:36:28 +0000
changeset 853
875262e89b52
parent 850
2ab47c4cd618
child 2525
2eb010b6cb22
permissions
-rw-r--r--

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

darcy@850 1 BadTwrSyntax.java:14:43: compiler.err.illegal.start.of.type
darcy@850 2 BadTwrSyntax.java:14:44: compiler.err.expected: =
darcy@850 3 BadTwrSyntax.java:14:45: compiler.err.expected: ')'
darcy@850 4 BadTwrSyntax.java:14:47: compiler.err.expected: '{'
darcy@850 5 BadTwrSyntax.java:15:19: compiler.err.illegal.start.of.expr
darcy@850 6 BadTwrSyntax.java:15:23: compiler.err.expected: ';'
darcy@850 7 6 errors

mercurial