[GHC] #12462: Cannot add directories with colon to include path

GHC ghc-devs at haskell.org
Thu Aug 4 19:32:49 UTC 2016


#12462: Cannot add directories with colon to include path
-------------------------------------+-------------------------------------
           Reporter:  ezyang         |             Owner:
               Type:  bug            |            Status:  new
           Priority:  lowest         |         Milestone:
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 ezyang at sabre:~$ ls f:g
 A.hi  A.hs  A.o
 ezyang at sabre:~$ ghc-8.0 --make A -if:g

 <no location info>: error: module ‘A’ is a package module
 ezyang at sabre:~$ ghc-8.0 --make A -if\:g

 <no location info>: error: module ‘A’ is a package module
 ezyang at sabre:~$ ghc-8.0 --make A -if\\:g

 <no location info>: error: module ‘A’ is a package module
 }}}

 The problem is that the colon is interpreted as a path separator.\

 Of course, colons break everything forever, so you shouldn't use them. But
 it is still a bit unsatisfactory.

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


More information about the ghc-tickets mailing list