Created
May 22, 2016 11:47
-
-
Save int-index/17dfb68fd97f724aef2849d0defae0d6 to your computer and use it in GitHub Desktop.
Pattern synonyms GHCi 8.0 regression
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GHCi, version 7.10.3: http://www.haskell.org/ghc/ :? for help | |
Prelude> :l M.hs | |
[1 of 1] Compiling Main ( M.hs, interpreted ) | |
Ok, modules loaded: Main. | |
*Main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GHCi, version 8.0.1: http://www.haskell.org/ghc/ :? for help | |
Prelude> :l M.hs | |
[1 of 1] Compiling Main ( M.hs, interpreted ) | |
ghc: panic! (the 'impossible' happened) | |
(GHC version 8.0.1 for x86_64-unknown-linux): | |
kindPrimRep.go rep_a18a | |
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE PatternSynonyms #-} | |
data T = C | |
pattern P :: T | |
pattern P = C | |
pattern P' :: T | |
pattern P' = P |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment