Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,829
    • Issues 4,829
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 447
    • Merge requests 447
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #12462

Closed
Open
Created Aug 04, 2016 by Edward Z. Yang@ezyangDeveloper

Cannot add directories with colon to include path

ezyang@sabre:~$ ls f:g
A.hi  A.hs  A.o
ezyang@sabre:~$ ghc-8.0 --make A -if:g

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

<no location info>: error: module ‘A’ is a package module
ezyang@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.

Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure OtherFailure
Priority lowest
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking