[GHC] #12156: -fdefer-typed-holes causes panic on unbound variable

GHC ghc-devs at haskell.org
Tue Jun 28 12:37:42 UTC 2016


#12156: -fdefer-typed-holes causes panic on unbound variable
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:
       Component:  Compiler (Type    |              Version:  8.1
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10569            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"af21e38855f7d517774542b360178b05045ecb08/ghc" af21e38/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="af21e38855f7d517774542b360178b05045ecb08"
 Don't omit any evidence bindings

 This fixes Trac #12156, where we were omitting to make an
 evidence binding (because cec_suppress was on), but yet the
 program was compiled and run.

 The fix is easy, and involves deleting code :-).
 }}}

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


More information about the ghc-tickets mailing list