Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named haddock sections, using single-line comments, no longer parsed/found in GHC HEAD (8.0) #117

Open
christiaanb opened this issue Nov 17, 2015 · 0 comments

Comments

@christiaanb
Copy link

Using doctest on GHC HEAD I discovered that named sections using single-line comment style are no longer parsed/found.

So the following works in GHC 710, but does not work in HEAD:

-- $setup
-- >>> bla bla
-- >>> har har

Named sections using multi-line comments are however parsed/found correctly. So the following works in GHC 710 and HEAD:

{- $setup
>>> bla bla
>>> har har
-}

I have no idea if this is a GHC bug or not, but I figured someone here might know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant