You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This playpen has an outer loop called 'outer with two inner loops, one after the other, both called 'inner. The warning says the name 'inner is shadowed, but it seems like it really isn't, since you can't refer to a loop's label after the end of the loop.
The text was updated successfully, but these errors were encountered:
arielb1
added
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
and removed
A-diagnostics
Area: Messages for errors, warnings, and lints
labels
Jun 26, 2015
<anon>:3:13: 3:27 warning: label name `'outer` shadows a label name that is already in scope
<anon>:3 'outer: while false {}
^~~~~~~~~~~~~~
<anon>:2:13: 2:27 note: shadowed label `'outer` declared here
<anon>:2 'outer: while false {}
^~~~~~~~~~~~~~
This playpen has an outer loop called
'outer
with two inner loops, one after the other, both called'inner
. The warning says the name'inner
is shadowed, but it seems like it really isn't, since you can't refer to a loop's label after the end of the loop.The text was updated successfully, but these errors were encountered: