Disallow extended record types with no fields, resolves #280
This commit is contained in:
parent
115b139774
commit
11a60de544
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ record =
|
|||
t <- tvar
|
||||
whitespace >> string "|" >> whitespace
|
||||
return t
|
||||
fields = commaSep $ do
|
||||
fields = commaSep1 $ do
|
||||
lbl <- rLabel
|
||||
whitespace >> hasType >> whitespace
|
||||
(,) lbl <$> expr
|
||||
|
|
Loading…
Reference in a new issue