Ticket #208 (new bug report)

Opened 7 years ago

Last modified 7 years ago

Infix data declaration heads do not handle more than two parameters

Reported by: nibro Owned by: nibro
Priority: critical Milestone:
Component: parser Version: 1.9.x
Keywords: Cc:


The following program incorrectly fails to parse due to the p parameter:

{-# LANGUAGE TypeOperators #-}
module IllDataTypeDeclTest where
data (f :+: g) p = L

Change History

Changed 7 years ago by nibro

Fixing this requires changes to the way data headers are represented in the AST, i.e. a non-trivial fix that will also require a major version bump.

Note: See TracTickets for help on using tickets.