Commit b17a836
committed
Flags can't be used as non-monotonic signals between phases
since denotations are phase-versioned and later denotations
might exist already when the flag of an earlier denotation is
set. To avoid this, set flags in all following denotations,
not just the current one.1 parent 51b1f2c commit b17a836
File tree
4 files changed
+13
-0
lines changed- compiler/src/dotty/tools/dotc/transform
- tests/run/i8101
4 files changed
+13
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments