Commit b67dd0f
authored
Improve the error message in a Y061 edge case (#445)
Currently we're recommending code that we'd immediately complain about
if the user actually used it. We shouldn't do that. Possibly we could
introduce another error code emitting an error for duplicate `Literal`
members, but for now I'd just like to fix the Y061 error message.1 parent c7d988e commit b67dd0f
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1432 | 1432 | | |
1433 | 1433 | | |
1434 | 1434 | | |
1435 | | - | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
1436 | 1438 | | |
1437 | 1439 | | |
1438 | 1440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
0 commit comments