[GHC] #11367: [Regression] Pattern synonyms
GHC
ghc-devs at haskell.org
Thu Jan 7 00:43:31 UTC 2016
#11367: [Regression] Pattern synonyms
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: GHC rejects | Unknown/Multiple
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Iceland_jack):
Small note:
When a pattern synonym is non-exhaustive its name is mangled:
{{{
>>> A 3
"*** Exception: /tmp/tmp.t0h0pMgwWb.hs:(4,1)-(5,14): Non-exhaustive
patterns in function $bA
}}}
It would be preferable to emit “Non-exhaustive patterns in pattern synonym
A”.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11367#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list