[Issue 10209] New: string import doesn't work with dmd -J/ /path/to//file.d

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 29 14:14:33 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10209

           Summary: string import doesn't work with dmd -J/
                    /path/to//file.d
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thelastmammoth at gmail.com


--- Comment #0 from thelastmammoth at gmail.com 2013-05-29 14:14:32 PDT ---
problem when a path argument given to dmd contains a '//' instead of '/':

dmd dmd -J/ /path/to//file.d

/path/to/file.d:
----
void main(){
    enum a=import(__FILE__);// error:cannot be found or not in a path specified
with -J
}
----

even though readText(__FILE__) works

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list