Template Haskell cannot splice an infix declaration for a data constructor
|Reported by:||goldfire||Owned by:||goldfire|
|Type of failure:||None/Unknown||Test Case:||th/T9066|
|Related Tickets:||Differential Rev(s):||Phab:D424|
When I say
$([d| data Blargh = (:<=>) Int Int infix 4 :<=> |])
Illegal variable name: ‘:<=>’ When splicing a TH declaration: infix 4 :<=>_0
The code inside the TH quote works when not used with TH.
I will fix in due course.
Change History (9)
comment:6 Changed 22 months ago by goldfire
- Differential Rev(s) set to Phab:D424
- Status changed from new to patch
Note: See TracTickets for help on using tickets.