[GHC] #11646: Make pattern synonym export type mismatch a warning

GHC ghc-devs at haskell.org
Fri Feb 26 17:34:05 UTC 2016


#11646: Make pattern synonym export type mismatch a warning
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.1-rc2
  checker)                           |             Keywords:
      Resolution:                    |  PatternSynonyms
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:                    |
  PatternSynonyms/AssociatingSynonyms|
-------------------------------------+-------------------------------------

Comment (by mpickering):

 You understand correctly. The check would be better but it is difficult to
 specify when a pattern synonym should and should not be allowed to
 bundled.

 Do you have an example where the check prevents you from writing the
 program you want to write?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11646#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list