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

Expose Text.Internal.Css #205

Merged
merged 1 commit into from
Apr 19, 2017
Merged

Expose Text.Internal.Css #205

merged 1 commit into from
Apr 19, 2017

Conversation

tolysz
Copy link
Contributor

@tolysz tolysz commented Apr 18, 2017

This change allows to fix yesod on 8.0.1 compiler by adding:

import Text.Internal.Css (Block(..))

to the failing modules
i.e. ones which die with:

ghc: panic! (the 'impossible' happened)
  (GHC version 8.0.1 for x86_64-unknown-linux):
        find_tycon
  Block        
  []           
               
Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

fixes: #203

@snoyberg
Copy link
Member

Can we at least add a Haddock comment to the top of these modules that they are only being exposed to work around a GHC bug, and that the modules should not be relied upon?

This change allows to fix yesod on 8.0.1 compiler by adding:
```haskell
import Text.Css (Block(..))
```

to the failing modules
@tolysz
Copy link
Contributor Author

tolysz commented Apr 19, 2017

I hid them from haddock and moved them to Text.Internal.Css*

@tolysz tolysz changed the title Expose Text.Css Expose Text.Internal.Css Apr 19, 2017
@snoyberg snoyberg merged commit b3eea5e into yesodweb:master Apr 19, 2017
snoyberg added a commit that referenced this pull request Apr 19, 2017
@snoyberg
Copy link
Member

snoyberg commented Apr 19, 2017 via email

@tolysz tolysz deleted the export-css branch April 19, 2017 16:24
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

Successfully merging this pull request may close these issues.

Block is not exported
2 participants