Ticket #221 (new bug report)
Opened 13 months ago
Parse error with forall in class
| Reported by: | NeilMitchell | Owned by: | nibro |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | parser | Version: | |
| Keywords: | Cc: | ndmitchell@… |
Description
The following code parses fine with GHC, but not HSE 1.13.2
{-# LANGUAGE ScopedTypeVariables #-}
instance forall a. MyClass a => MyClass [a] where
It gives the error:
Illegal instance declaration
Originally reported as a bug in HLint, http://code.google.com/p/ndmitchell/issues/detail?id=544
Note: See
TracTickets for help on using
tickets.
