[GHC] #11827: InteractiveEval error handling gets a boot ModSummary instead of normal ModSummary

GHC ghc-devs at haskell.org
Tue Feb 28 20:55:16 UTC 2017


#11827: InteractiveEval error handling gets a boot ModSummary instead of normal
ModSummary
-------------------------------------+-------------------------------------
        Reporter:  darchon           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1-rc3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  warning at compile-time            |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 I get a Googlelocatably-similar error message with

 {{{#!hs
 {-# LANGUAGE PolyKinds, TypeInType #-}

 import GHC.Exts

 data A :: TYPE rep -> Constraint
 }}}

 using GHC version 8.0.2

 {{{
 *** Exception: expectJust zonkTcTyVarToVar
 CallStack (from HasCallStack):
   error, called at compiler\utils\Maybes.hs:48:27 in ghc:Maybes
 }}}

 I can't remember if this has been reported already.

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


More information about the ghc-tickets mailing list