[GHC] #13106: impossible happened: initTc: unsolved constraints

GHC ghc-devs at haskell.org
Thu Jan 12 01:08:32 UTC 2017


#13106: impossible happened: initTc: unsolved constraints
-------------------------------------+-------------------------------------
        Reporter:  codygman          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  initTc
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 A minimal reproducible test case is:

 {{{#!hs
 {-# LANGUAGE TemplateHaskell #-}
 module Main (main) where

 main :: IO ()
 main = do
    cp minimal-frames-lookup-map.ps minimal-frames-lookup-map_hd.ps
 cp minimal-frames-lookup-map.ps  minimal-frames-lookup-map_hy.ps
 }}}

 Or even more minimally:

 {{{#!hs
 {-# LANGUAGE TemplateHaskell #-}
 module Main (main) where

 main :: IO ()
 main = do
    cp
 cp
 }}}

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


More information about the ghc-tickets mailing list