view test/tools/javac/foreach/7139681/T7139681neg.out @ 1809:7889d1fe2597

7139681: Enhanced for loop: local variable scope inconsistent with JLS Summary: For-each loop variable is incorrectly visible from the for-each expression Reviewed-by: jjg, vromero
author mcimadamore
date Thu, 06 Jun 2013 15:32:41 +0100
parents
children
line wrap: on
line source
T7139681neg.java:10:22: compiler.err.cant.resolve.location: kindname.variable, a, , , (compiler.misc.location: kindname.class, T7139681neg, null)
T7139681neg.java:14:26: compiler.err.cant.resolve.location: kindname.variable, b, , , (compiler.misc.location: kindname.class, T7139681neg, null)
2 errors