Open sighingnow opened 6 years ago
In {-# SCC #-} annotation, The double quotes can be omitted if name is a Haskell identifier. But current haskell-src-exts doesn't support this feature. As presented in tests/examples/Ppr048.hs, when quotes are omitted we get a parser error.
{-# SCC #-}
tests/examples/Ppr048.hs
{-# SCC foo #-} foo :: Int -> Int foo x = x
Related issue: commercialhaskell/hindent#408.
The more serious problem here is that top level SCC pragmas are not implemented yet.
In
{-# SCC #-}
annotation, The double quotes can be omitted if name is a Haskell identifier. But current haskell-src-exts doesn't support this feature. As presented intests/examples/Ppr048.hs
, when quotes are omitted we get a parser error.Related issue: commercialhaskell/hindent#408.