Commit cb77a9b
authored
Reset to previous statement when leaving
Unlike other statements, return can be found in lambdas, and so is not
immediately followed by another statement to check or EOF. We need to
restore the previous value to continue checking it.
Fixes #19632return in semanal (#19642)1 parent 74927d5 commit cb77a9b
2 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5332 | 5332 | | |
5333 | 5333 | | |
5334 | 5334 | | |
| 5335 | + | |
5335 | 5336 | | |
5336 | 5337 | | |
5337 | 5338 | | |
5338 | 5339 | | |
5339 | 5340 | | |
5340 | 5341 | | |
5341 | 5342 | | |
| 5343 | + | |
5342 | 5344 | | |
5343 | 5345 | | |
5344 | 5346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9258 | 9258 | | |
9259 | 9259 | | |
9260 | 9260 | | |
| 9261 | + | |
| 9262 | + | |
| 9263 | + | |
| 9264 | + | |
| 9265 | + | |
| 9266 | + | |
| 9267 | + | |
| 9268 | + | |
| 9269 | + | |
| 9270 | + | |
| 9271 | + | |
| 9272 | + | |
| 9273 | + | |
| 9274 | + | |
| 9275 | + | |
0 commit comments