Commit b8b4790
committed
Define dummy as unused error message id
I am exasperated how over-engineered and badly designed the error message architecture is.
Error messages used to be simple strings but are now a complete mess.
Latest installment: Error message ids are an enum. So if a message is no longer needed,
you can drop the enum value, right? Wrong! The error message tests rely on the actual
ordinal number printed, so they fail if that number changes.1 parent 12a5d66 commit b8b4790
File tree
1 file changed
+1
-0
lines changed- compiler/src/dotty/tools/dotc/reporting/diagnostic
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
0 commit comments