[GHC] #14552: GHC panic on pattern synonym
GHC
ghc-devs at haskell.org
Fri Dec 15 12:20:21 UTC 2017
#14552: GHC panic on pattern synonym
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.3
Resolution: | Keywords:
| PatternSynonyms, TypeInType,
| ViewPatterns
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 simonpj):
PS
> Interestingly, matcher2 does not type check without this inlining:
It does for me!
{{{
matcher3 (T (($ 3) -> x)) k = k x
}}}
typechecks just fine with inferred type
{{{
matcher3 :: forall a t. T -> ((a -> a) -> t) -> t
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14552#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list