Ticket #219 (new bug report)

Opened 6 years ago

Last modified 5 years ago

Parse error on template haskell type splice with $

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


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 5 years ago by NeilMitchell

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

Note: See TracTickets for help on using tickets.