haskell / haskell/stylish-haskell
Parse error of empty record definition
Open
- Dominant language
- Haskell
- Stars
- 1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
```hs
data D = D {}
```
```
error:
Cannot parse data constructor in a data/newtype declaration: {}
```
Maybe I'm doing something wrong and type of definitions is not allowed, but ghc doesn't complain
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.