Commit f33f180
authored
Fix translating erl compiler errors to diagnostics on OTP 24 (#10719)
The compiler previously emitted just `line` and now emits `{line,
column}`.
The diagnostic struct accepts as position either:
nil
line
{start_line, start_col, end_line, end_col}
so we could have used the `column` to create the 4-tuple but we don't
have enough information to do that correctly, we don't know where the
line ends.1 parent fc5b37f commit f33f180
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
275 | 286 | | |
276 | 287 | | |
277 | 288 | | |
| |||
0 commit comments