[GHC] #14525: Backpack doesn't work with CPP

GHC ghc-devs at haskell.org
Sat Nov 25 02:07:30 UTC 2017


#14525: Backpack doesn't work with CPP
-------------------------------------+-------------------------------------
           Reporter:  ezyang         |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.2.2
           Keywords:  backpack       |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Steps to repro:
 1. Create a package with a signature and a module which imports it
 2. Add `{-# LANGUAGE CPP #-}` to the module

 Expected result: it works

 Actual result:

 {{{
 <command line>: unknown package: hole
 }}}

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


More information about the ghc-tickets mailing list