[GHC] #14169: ghci panics when using type applications on variables that aren't in scope

GHC ghc-devs at haskell.org
Tue Aug 29 23:33:38 UTC 2017


#14169: ghci panics when using type applications on variables that aren't in scope
-------------------------------------+-------------------------------------
           Reporter:  tysonzero      |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Compile-time
  Unknown/Multiple                   |  crash or panic
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Minimal example:

 {{{#!hs
 ghci> foo @Int
 ghc: panic! (the 'impossible' happened)
   (GHC version 8.0.2 for x86_64-apple-darwin):
         initTc: unsolved constraints
   WC {wc_insol =
         [W] foo_a7EJ :: t_a7EI[tau:1] (CHoleCan: foo)
         [W] foo_a7F7 :: t_a7F6[tau:1] (CHoleCan: foo)}
 }}}

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


More information about the ghc-tickets mailing list