[GHC] #14940: GHC doesn't accept url specifying output file that is in a directory that is created by the -outputdir flag

GHC ghc-devs at haskell.org
Mon Mar 19 18:01:59 UTC 2018


#14940: GHC doesn't accept url specifying output file that is in a directory that
is created by the -outputdir flag
--------------------------------------+---------------------------
           Reporter:  ntj             |             Owner:  (none)
               Type:  bug             |            Status:  new
           Priority:  lowest          |         Milestone:
          Component:  Compiler        |           Version:  8.2.2
           Keywords:                  |  Operating System:  Linux
       Architecture:  x86_64 (amd64)  |   Type of failure:  Other
          Test Case:                  |        Blocked By:
           Blocking:                  |   Related Tickets:
Differential Rev(s):                  |         Wiki Page:
--------------------------------------+---------------------------
 Command:

 {{{
 ghc p.hs -outputdir simple -o simple/po
 }}}


 Output:

 {{{
 <command line>: error: directory portion of "simple/po" does not exist
 (used with "-o" option.)
 }}}


 Directory "simple" does not exist before the time of compilation.

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


More information about the ghc-tickets mailing list