[GHC] #9732: Pattern synonyms and unboxed values
GHC
ghc-devs at haskell.org
Mon Oct 27 21:23:48 UTC 2014
#9732: Pattern synonyms and unboxed values
-------------------------------------+-------------------------------------
Reporter: monoidal | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.3
Keywords: | Operating System:
Architecture: Unknown/Multiple | Unknown/Multiple
Difficulty: Unknown | Type of failure: Compile-
Blocked By: | time crash
Related Tickets: | Test Case:
| Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
It's possible to declare a toplevel unboxed value with a pattern synonym,
which causes a panic:
{{{
{-# LANGUAGE PatternSynonyms, MagicHash #-}
pattern P = 0#
}}}
(compare with error on `x = 0#`).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9732>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list