[GHC] #9046: Panic in GHCi when using :print

GHC ghc-devs at haskell.org
Sun Jun 15 05:31:09 UTC 2014


#9046: Panic in GHCi when using :print
-------------------------------------+------------------------------------
        Reporter:  quchen            |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:  7.8.4
       Component:  GHCi              |          Version:  7.8.2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  GHCi crash        |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by bravit):

 We had different behaviour for `:print` back in 7.6.3:
 {{{
 $ ghci -fprint-explicit-foralls
 GHCi, version 7.6.3: http://www.haskell.org/ghc/  :? for help

 > :print read
 read = (_t1::forall a. Read a => String -> a)
 > :t _t1
 _t1 :: forall a. Read a => String -> a

 > :print length
 length = (_t2::forall a. [a] -> Int)
 > :t _t2
 _t2 :: forall a. [a] -> Int
 }}}

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


More information about the ghc-tickets mailing list