Ticket #213 (new bug report)

Opened 3 years ago

Parse difference from GHC on bracketed instance heads

Reported by: NeilMitchell Owned by: nibro
Priority: major Milestone:
Component: parser Version: 1.10.0
Keywords: Cc:

Description

module A where instance (Bounded a => Bounded [a]) where

This parses in GHC, but not in HSE. Originally reported by Eric Kow against derive, but would also effect hlint etc. It's possible GHC is in error here (I don't know the report parsing rules well enough), so this might need raising against GHC.

Note: See TracTickets for help on using tickets.