Commit e48300e
authored
Fix rendering errors on very long lines (bytecodealliance#2440)
Don't render the line, just show the filename/line number.
Closes bytecodealliance#24391 parent 6afe0a3 commit e48300e
3 files changed
Lines changed: 17 additions & 3 deletions
File tree
- crates/wit-parser
- src
- tests/ui/parse-fail
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1875 | 1875 | | |
1876 | 1876 | | |
1877 | 1877 | | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
1878 | 1887 | | |
1879 | 1888 | | |
1880 | 1889 | | |
1881 | 1890 | | |
1882 | 1891 | | |
1883 | 1892 | | |
1884 | 1893 | | |
1885 | | - | |
| 1894 | + | |
1886 | 1895 | | |
1887 | | - | |
1888 | | - | |
1889 | 1896 | | |
1890 | 1897 | | |
1891 | 1898 | | |
| |||
Lines changed: 6 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments