Commit adfd09d
committed
[parser] Fix infinite loop with erroneously placed attribute at statement level
This infinite loop case was introduced after changes of swiftlang#22974
It was found by the stress tester.1 parent dbcad66 commit adfd09d
File tree
2 files changed
+15
-0
lines changed- lib/Parse
- test/Parse
2 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
604 | 609 | | |
605 | 610 | | |
606 | 611 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments