Ticket #199 (new bug report)
failure to parse strict field in GADT style type declaration
| Reported by: | ganesh | Owned by: | nibro |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | parser | Version: | 1.8.x |
| Keywords: | Cc: | ganesh |
Description
This file parses fine in ghc:
{-# LANGUAGE GADTs #-}
module Foo where
data X where
X :: !Int -> X
HSE (e.g. via hlint) fails to parse it with:
Foo.hs:5:8: Parse error
Error message:
Parse error: !
Code:
data X where
> X :: !Int -> X
This is with version 1.9.4 but that's not an available version.
Change History
Note: See
TracTickets for help on using
tickets.
