We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39331e4 commit a8974f4Copy full SHA for a8974f4
spec/statement.dd
@@ -1196,7 +1196,7 @@ switch (i)
1196
$(SPEC_RUNNABLE_EXAMPLE_RUN
1197
--------------
1198
string message;
1199
-foreach (i; 0..5)
+foreach (i; 1..5)
1200
{
1201
switch (i)
1202
@@ -1212,7 +1212,7 @@ foreach (i; 0..5)
1212
continue; // don't append a comma
1213
1214
case 1: // valid: ends with 'goto' (explicit fall-through to next case.)
1215
- message ~= "one: ";
+ message ~= ">";
1216
goto case;
1217
1218
case 2: // valid: this is the last case in the switch statement.
0 commit comments