[GHC] #10997: Pattern synonym causes Iface error.

GHC ghc-devs at haskell.org
Thu Oct 22 19:36:05 UTC 2015


#10997: Pattern synonym causes Iface error.
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
                                     |  PatternSynonyms
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  typecheck/should_compile/T10997
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 Also triggered by:

 {{{
 % ghc Foo
 [1 of 1] Compiling Foo              ( Foo.hs, Foo.o )
 % ghc Bar
 [2 of 2] Compiling Bar              ( Bar.hs, Bar.o )
 The interface for ‘Foo’
 Declaration for Tru
 Pattern synonym Tru:
   Iface type variable out of scope:  k
 Cannot continue after interface file error
 }}}

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


More information about the ghc-tickets mailing list