Parsing SCC annotation with omitted quotes identifier
sighingnow opened this issue · 1 comments
sighingnow commented
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 foo #-}
foo :: Int -> Int
foo x = xRelated issue: mihaimaruseac/hindent#408.
mpickering commented
The more serious problem here is that top level SCC pragmas are not implemented yet.