Could we number only the problem line?
Open
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
When reporting errors with project files (and cabal files):
```
1 | packages: .
2 |
3 | -- This is an error; a trailing `:` is syntax for a field, not a stanza!
4 | source-repository-package:
| ^
```
Do we need all of lines 1..4? Could we number only the problem line and include the lines above and below, unnumbered. This is what GHC does, isn't it?
_Originally posted by @philderbeast in https://github.com/haskell/cabal/pull/8889#discussion_r2213579263_
Contributor guide
Assessment
This issue has not been assessed yet.