[GHC] #14335: Annotations aren't supported with -fexternal-interpreter

GHC ghc-devs at haskell.org
Sat Nov 11 20:24:10 UTC 2017


#14335: Annotations aren't supported with -fexternal-interpreter
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  bgamari
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.2.1
      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 bgamari):

 Indeed reproducing this appears to be fairly straightfoward
 {{{
 $ cabal install ghc-typelits-natnormalise
 $ cat << EOF > hi.hs
 {-# OPTIONS_GHC -fplugin GHC.TypeLits.Normalise #-}

 module Hi where
 EOF
 $ ghc hi.hs -fforce-recomp -fexternal-interpreter
 [1 of 1] Compiling Hi               ( hi.hs, hi.o )
 ghc: this operation requires -fno-external-interpreter
 }}}

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


More information about the ghc-tickets mailing list