haskell / haskell/stylish-haskell

Parse error of empty record definition

Open
#454 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.