Ticket #219 (new bug report)

Opened 3 years ago

Last modified 20 months ago

Parse error on template haskell type splice with $

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

Description

The following code parses with GHC, but gives a parse error with HSE:

{-# LANGUAGE TemplateHaskell #-}
unit x = [t| $x |]

Reported in HLint and tracked as bug 514: http://code.google.com/p/ndmitchell/issues/detail?id=514

Change History

Changed 20 months ago by NeilMitchell

More failing code is also at the bug report, for additional checks.

Note: See TracTickets for help on using tickets.