|
Last change
on this file since ad47ec4 was c248b39, checked in by Andrew Beach <ajbeach@…>, 16 months ago |
|
Unlabelled breaks were not targetting the correct enclosing control structures. Also added a test and improved error messages.
|
-
Property mode
set to
100644
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | exceptions/try-ctrl-flow.cfa:7:1 error: "break" outside a loop or "switch"
|
|---|
| 2 | exceptions/try-ctrl-flow.cfa:15:1 error: "break" outside a loop or "switch"
|
|---|
| 3 | exceptions/try-ctrl-flow.cfa:23:1 error: "break" outside a loop or "switch"
|
|---|
| 4 | exceptions/try-ctrl-flow.cfa:31:1 error: "continue" outside a loop
|
|---|
| 5 | exceptions/try-ctrl-flow.cfa:48:1 error: "break" target must be an enclosing control structure: mainLoop
|
|---|
| 6 | exceptions/try-ctrl-flow.cfa:56:1 error: "continue" target must be an enclosing loop: mainLoop
|
|---|
| 7 | exceptions/try-ctrl-flow.cfa:65:1 error: "break" outside a loop or "switch"
|
|---|
| 8 | exceptions/try-ctrl-flow.cfa:76:1 error: "break" outside a loop or "switch"
|
|---|
| 9 | exceptions/try-ctrl-flow.cfa:87:1 error: "fallthrough" must be enclosed in a "switch" or "choose"
|
|---|
| 10 | exceptions/try-ctrl-flow.cfa:98:1 error: "break" target must be an enclosing control structure: mainBlock
|
|---|
| 11 | exceptions/try-ctrl-flow.cfa:111:1 error: "fallthrough" must be enclosed in a "switch" or "choose"
|
|---|
| 12 | exceptions/try-ctrl-flow.cfa:124:1 error: "fallthrough" must be enclosed in a "switch" or "choose"
|
|---|
| 13 | exceptions/try-ctrl-flow.cfa:133:1 error: "return" may not appear in a finally clause
|
|---|
| 14 | exceptions/try-ctrl-flow.cfa:139:1 error: "return" may not appear in a finally clause
|
|---|
| 15 | exceptions/try-ctrl-flow.cfa:148:1 error: "break" outside a loop or "switch"
|
|---|
| 16 | exceptions/try-ctrl-flow.cfa:159:1 error: "return" may not appear in a try statement with a catch clause
|
|---|
| 17 | exceptions/try-ctrl-flow.cfa:187:1 error: "return" may not appear in a catchResume clause
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.