Ticket #195 (new bug report)

Opened 4 years ago

Fails to parse (#*) operator with UnboxedTuples extension turned on

Reported by: NeilMitchell2 Owned by: nibro
Priority: major Milestone:
Component: parser Version: 1.8.x
Keywords: Cc:

Description

Consider:

{-# LANGUAGE UnboxedTuples, MagicHash #-}
(#*:) :: a
(#*:) = undefined

GHC parses this just fine (as an operator), but HSE gets it wrong trying to treat it as an unboxed tuple. This bug was found by an HLint user: http://code.google.com/p/ndmitchell/issues/detail?id=329

Note: See TracTickets for help on using tickets.