[GHC] #13932: GHCi dumps "panic!" ("initTc: unsolved constraints")

GHC ghc-devs at haskell.org
Fri Jul 7 01:57:01 UTC 2017


#13932: GHCi dumps "panic!" ("initTc: unsolved constraints")
-------------------------------+--------------------------------------
        Reporter:  aiya000     |                Owner:  (none)
            Type:  bug         |               Status:  new
        Priority:  normal      |            Milestone:
       Component:  Compiler    |              Version:  8.0.1
      Resolution:              |             Keywords:  ghci
Operating System:  Linux       |         Architecture:  x86_64 (amd64)
 Type of failure:  GHCi crash  |            Test Case:
      Blocked By:              |             Blocking:
 Related Tickets:              |  Differential Rev(s):
       Wiki Page:              |
-------------------------------+--------------------------------------

Comment (by aiya000):

 ghci says below line if I replace Main.hs (but it was defined)

 https://gist.github.com/a57b9f85e7927c1327450183faa81620

 {{{
 *Control.Exception.Throwable.TH Data.Text Data.Char Language.Haskell.TH T
 TIO> :reload
 [7 of 9] Compiling Maru.Main        ( /home/aiya000/Repository/hs-
 zuramaru/src/Maru/Main.hs, interpreted )

 /home/aiya000/Repository/hs-zuramaru/src/Maru/Main.hs:44:1: error:
     Variable not in scope: makeLensesA :: Name -> DecsQ
 Failed, modules loaded: Control.Exception.Throwable.TH, Maru.Eval,
 Maru.Parser, Maru.Type, Maru.Type.Parser, Maru.Type.SExpr.
 }}}

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


More information about the ghc-tickets mailing list