-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Labels
Description
When running stylish-haskell on GADT with no constructors fails with a parse error:
ParseFailed (SrcLoc "<unknown>.hs" 4 1) "Parse error: virtual }"
The input was
{-# LANGUAGE GADTs #-}
data SomeGADT a whereIt succeeds if the where clause is removed
{-# LANGUAGE GADTs #-}
data SomeGADT abut the where clause is valid. Unsure where the code for the parser is is but I'll look in to finding it to see if I can fix it if it should be fixed.
Martoon-00