Closed brandonchinn178 closed 2 years ago
Describe the bug When a pragma comment is in a haddock, GHC fails to parse.
To Reproduce
{-| {- bar -} -}
Expected behavior Should pass.
Environment Tested this on ormolu-live.tweag.io
Additional context
Update: this parses:
{-| {\- bar -\} -}
If the GHC parser fails on this, what can we do about it?
Not much, I suppose. Sorry I guess I wasn't thinking late at night.
Moved to https://gitlab.haskell.org/ghc/ghc/-/issues/20336
Describe the bug When a pragma comment is in a haddock, GHC fails to parse.
To Reproduce
Expected behavior Should pass.
Environment Tested this on ormolu-live.tweag.io
Additional context