Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paths which contain multiple consecutive forward slashes trip up dub #1722

Open
AndrejMitrovic opened this issue Jun 5, 2019 · 1 comment
Labels

Comments

@AndrejMitrovic
Copy link

Specs:

DUB version 1.14.0, built on Mar 2 2019
macOS Mojave v10.14.4
DMD64 D Compiler v2.085.1

/+dub.sdl:
dependency "emsi_containers" version="~>0.7"
+/
module test;
void main ( ) { }
# ok
~/dev/d master * $ dub -q --single /Users/andrejmitrovic/dev/d/test.d                 2 ↵

# fail
~/dev/d master * $ dub -q --single /Users/andrejmitrovic/dev/d//test.d
Error: module `test` from file test.d is specified twice on the command line
dmd failed with exit code 1.

# ok
/dev/d master * $ dmd -run /Users/andrejmitrovic/dev/d//test.d
@AndrejMitrovic
Copy link
Author

This PR introduced the regression #1410

@Geod24 Geod24 added the bug label Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants