mihaimaruseac / hindent

Haskell pretty printer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parse error on valid Template Haskell code

inflation opened this issue · comments

let pcons x xs = [p| $x : $xs |]

would fail like

hindent: <interactive>:43:3: Parse error in pattern: $x

Adding parentheses won't help either.

Closing as the current master no longer has this bug.