-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Description
The following program is valid (using template-haskell
):
{-# LANGUAGE TemplateHaskell #-}
import Language.Haskell.TH.Syntax
main = print $ showName '(,)
However stylish-haskell
doesn't parse it properly:
stylish-haskell git:(master)
➜ git rev-parse HEAD
d24532c82472c4d11947a0afe8941f930664b0ac
stylish-haskell git:(master)
➜ stack exec -- stylish-haskell --version
stylish-haskell 0.9.0.2
stylish-haskell git:(master)
➜ stack exec -- stylish-haskell /path/to/Test.hs
Language.Haskell.Stylish.Parse.parseModule: could not parse /path/to/Test.hs: ParseFailed (SrcLoc "<unknown>.hs" 5 27) "Parse error: ,"
Metadata
Metadata
Assignees
Labels
No labels