[GHC] #9732: Pattern synonyms and unboxed values
GHC
ghc-devs at haskell.org
Thu Nov 13 15:41:02 UTC 2014
#9732: Pattern synonyms and unboxed values
-------------------------------------+-------------------------------------
Reporter: monoidal | Owner: cactus
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.3
Resolution: | Keywords: pattern synonyms
Operating System: | Architecture: Unknown/Multiple
Unknown/Multiple | Difficulty: Unknown
Type of failure: Compile- | Blocked By:
time crash | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by Dr. ERDI Gergo <gergo@…>):
In [changeset:"7f929862388afd54043d59b37f2f5375c5315344/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="7f929862388afd54043d59b37f2f5375c5315344"
If pattern synonym is bidirectional and its type is some unboxed type T#,
generate a worker function of type Void# -> T#, and redirect the wrapper
(via a compulsory unfolding) to the worker. Fixes #9732.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9732#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list