[GHC] #9399: CPP does not process test case enum01.hs correctly

GHC ghc-devs at haskell.org
Sun Aug 3 13:15:28 UTC 2014


#9399: CPP does not process test case enum01.hs correctly
-------------------------------------+-------------------------------------
       Reporter:  jrp                |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Test Suite         |                 Version:  7.8.3
       Keywords:  cpp                |        Operating System:  MacOS X
   Architecture:  x86_64 (amd64)     |         Type of failure:  GHC
     Difficulty:  Unknown            |  rejects valid program
     Blocked By:                     |               Test Case:  enum01.hs
Related Tickets:                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 The printTest cpp macro does not seem to be being applied in the test
 suite test enum01.hs (libraries/base)

 {{{
 > ghci -cpp enum01.hs
 GHCi, version 7.8.3: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 [1 of 1] Compiling Main             ( enum01.hs, interpreted )

 enum01.hs:91:3: Not in scope: ‘printTest’

 enum01.hs:92:3: Not in scope: ‘printTest’

 :
 }}}

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


More information about the ghc-tickets mailing list