Ticket #223 (new bug report)
Opened 9 months ago
Error message for RecordWildCards has incorrect column
| Reported by: | NeilMitchell | Owned by: | nibro |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | parser | Version: | |
| Keywords: | Cc: |
Description
Given the source:
foo Record{..} = xs
The error message is:
Sample.hs:2:14: Parse error, RecordWildCards is not enabled
However, the .. goes from column 12 to 14, so column 12 would be a much better position for the error message. This shows up more visibly if you have an editor which is parsing on the fly and drawing red underlines.
Note: See
TracTickets for help on using
tickets.
