[GHC] #12007: Panic when loading file with nested pattern synonyms into ghci
GHC
ghc-devs at haskell.org
Thu May 26 16:25:10 UTC 2016
#12007: Panic when loading file with nested pattern synonyms into ghci
-------------------------------------+-------------------------------------
Reporter: MikeIzbicki | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
| PatternSynonyms
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 Simon Peyton Jones <simonpj@…>):
In [changeset:"0f1e315b9274725c4a2c975f4d06a5c956cf5385/ghc" 0f1e315/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="0f1e315b9274725c4a2c975f4d06a5c956cf5385"
Fix bytecode gen to deal with rep-polymorphism
When faced runtime-rep-polymorphic code from a pattern-synonym
matcher, the bytecode generator was treating the result as lifted,
which it isn't. The fix is just to treat those rep-polymorphic
continuations like unlifted types, and add a dummy arg.
Trac #12007 is a case in point.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12007#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list