[GHC] #11639: `:print` being wacky

#11639: `:print` being wacky ----------------------------------------+------------------------------- Reporter: TheKing42 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Keywords: | Operating System: Linux Architecture: Unknown/Multiple | Type of failure: GHCi crash Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: ----------------------------------------+------------------------------- {{{ $ ghci GHCi, version 7.10.3: http://www.haskell.org/ghc/ :? for help Prelude> let x = 1:x Prelude> :print x x = (_t1::Num a => [a]) Prelude> head _t1 ghc: panic! (the 'impossible' happened) (GHC version 7.10.3 for x86_64-unknown-linux): tcTyVarDetails a_avB Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11639 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11639: `:print` being wacky -------------------------------+---------------------------------------- Reporter: TheKing42 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+---------------------------------------- Comment (by alexbiehl): Happens on Windows too. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11639#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11639: `:print` being wacky -------------------------------+---------------------------------------- Reporter: TheKing42 | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.3 Resolution: fixed | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+---------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => fixed * milestone: => 8.0.1 Comment: This appears to be fixed in 8.0, {{{ $ ghci GHCi, version 8.0.0.20160328: http://www.haskell.org/ghc/ :? for help Loaded GHCi configuration from /home/ben/.ghci λ> let x = 1:x λ> :print x x = (_t1::Num a => [a]) λ> head _t1 <interactive>:3:6: error: • No instance for (Num a) arising from a use of ‘_t1’ • In the first argument of ‘head’, namely ‘_t1’ In the expression: head _t1 In an equation for ‘it’: it = head _t1 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11639#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC