haskell / haskell/stylish-haskell
parse error with record definition
Open
- Dominant language
- Haskell
- Stars
- 1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
```
$ stylish-haskell --version 1
stylish-haskell 0.14.1.0
$ echo 'data Item = Item { iBase :: !(Ptr ()) } deriving Show'|stylish-haskell
:4:10: error: parse error on input `('
```
I have record formatting enabled in the configuration file.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the command shown with stylish-haskell 0.14.1.0 and record formatting enabled. Trace the parsing path for the record definition with the strict Ptr field; done means the example formats successfully without the parse error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100