[GHC] #12471: Weirdness when using quosiquoter in pattern synonyms / GADT context
GHC
ghc-devs at haskell.org
Sat Aug 6 18:55:53 UTC 2016
#12471: Weirdness when using quosiquoter in pattern synonyms / GADT context
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
| TemplateHaskell, PatternSynonyms,
| GADTs
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Iceland_jack):
It also works if I omit the type signature of `MkI` resulting in the
inferred type
{{{
>>> :i MkI
pattern MkI :: () => t GHC.Prim.~# Int => Int -> Exp t
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12471#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list