[GHC] #14204: GHC bug - makeStatic: Unresolved static form at line 13, column 14.

GHC ghc-devs at haskell.org
Fri Sep 8 19:46:27 UTC 2017


#14204: GHC bug - makeStatic: Unresolved static form at line 13, column 14.
-------------------------------------+-------------------------------------
        Reporter:  jchia             |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  8.2.1
      Resolution:                    |             Keywords:
                                     |  StaticPointers
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3931
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * keywords:   => StaticPointers
 * status:  new => patch
 * differential:   => Phab:D3931
 * component:  Compiler => Template Haskell


Comment:

 With Phab:D3931, the attached program now fails with a sensible error
 message:

 {{{
 staticPointerBug.hs:13:14: error:
     • Illegal static expression: static foo
         Use StaticPointers to enable this extension
     • In the untyped splice: $(cstatic 'foo)
    |
 13 |   let cl = $(cstatic 'foo)
    |              ^^^^^^^^^^^^
 }}}

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


More information about the ghc-tickets mailing list