Re: [GHC] #14395: Redefining pattern synonym in GHCi triggers "‘p’ is untouchable" error
GHC
ghc-devs at haskell.org
Tue Nov 7 23:21:07 UTC 2017
#14395: Redefining pattern synonym in GHCi triggers "‘p’ is untouchable" error
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: (none)
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler (Type | Version: 8.2.1
checker) | Keywords:
Resolution: invalid | 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: |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):
* status: new => closed
* resolution: => invalid
Comment:
I'll be darned—you're absolutely right, I just lucked out with `pattern
Bar :: Foo Int` and managed to get `pattern Bar = Nothing` (or really, `f
Bar = Nothing`) to compile even in the absence of `PatternSynonyms`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14395#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list