[GHC] #13587: addTopDecls fails with typed Template Haskell

GHC ghc-devs at haskell.org
Thu Apr 20 04:08:39 UTC 2017


#13587: addTopDecls fails with typed Template Haskell
-------------------------------------+-------------------------------------
        Reporter:  tmcdonell         |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  8.2.1-rc1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by erikd):

 The `-ddump-splices` output is:
 {{{
 main.hs:11:11-36: Splicing expression
     importDoubleToDouble "cos" ======> cos_a4gy
 main.hs:1:1: Splicing top-level declarations added with addTopDecls
   ======>
     foreign import ccall unsafe "cos" Main.cos :: Double -> Double
 }}}

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


More information about the ghc-tickets mailing list