[GHC] #12000: static pointer in ghci

GHC ghc-devs at haskell.org
Sat Apr 30 14:24:10 UTC 2016


#12000: static pointer in ghci
-------------------------------------+-------------------------------------
           Reporter:  Iceland_jack   |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 $ ghci -fobject-code -ignore-dot-ghci -XStaticPointers
 GHCi, version 8.1.20160428: http://www.haskell.org/ghc/  :? for help
 Prelude> a = static id
 Prelude> a

 <interactive>:2:1: error: Variable not in scope: a
 Prelude>
 }}}

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


More information about the ghc-tickets mailing list