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

GHC ghc-devs at haskell.org
Tue Feb 27 16:06:49 UTC 2018


#14335: Annotations aren't supported with -fexternal-interpreter
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:  T14335
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 Conclusion from offline discussion:

 * Probably not easy to make this work, because a lot of stuff would have
 to be serialized to be able to run the plugin in the external interpreter
 (Core, typechecker state, etc.)
 * We should document the limitation and emit a better error message
 * Possibly for the future: run the plugin with the internal interpreter
 while using the external interpreter for other things.

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


More information about the ghc-tickets mailing list