Commit 9cf3a26
authored
Fix dlang/dmd!21247 - DMD hangs in CTFE (dlang/dmd!21248)
Fixes dlang/dmd#21247
An infinite loop was introduced by a previous refactoring.
Ensure the loop properly terminates and add tests cases.1 parent e3ce49e commit 9cf3a26
File tree
3 files changed
+37
-3
lines changed- dmd
- tests/dmd/fail_compilation
3 files changed
+37
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6978 | 6978 | | |
6979 | 6979 | | |
6980 | 6980 | | |
6981 | | - | |
6982 | | - | |
6983 | | - | |
| 6981 | + | |
6984 | 6982 | | |
| 6983 | + | |
| 6984 | + | |
6985 | 6985 | | |
6986 | 6986 | | |
6987 | 6987 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments