Commit b3ac78f
committed
TyperState#commit: Flush reporter before committing
Flushing the reporter can force messages (apparently because of
`HideNonSensicalMessages#isHidden`) which can affect the TyperState
we're in the process of committing, so make sure that flushing happens
before committing to not trigger any assertion.
Fixes #127361 parent a714c55 commit b3ac78f
File tree
2 files changed
+7
-1
lines changed- compiler/src/dotty/tools/dotc/core
- tests/neg
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
155 | | - | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments