[GHC] #9878: Static pointers in GHCi cause panic

GHC ghc-devs at haskell.org
Thu Dec 11 11:16:44 UTC 2014


#9878: Static pointers in GHCi cause panic
-------------------------------------+-------------------------------------
              Reporter:  monoidal    |            Owner:  facundo.dominguez
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.9
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  GHCi crash  |       Blocked By:
             Test Case:              |  Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 If it doesn't work in GHCi, then yes it should be documented.  And what is
 "it"?  I think it's the `static` construct itself.  Calling
 `deRefStaticPtr` is fine.

 But also it should be checked!  The renamer or typechecker should produce
 a civilised error message when they encounter `static` in GHCi.

 Simon

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


More information about the ghc-tickets mailing list