www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3708] New: ImportExpression should be clear on how file is found

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3708

           Summary: ImportExpression should be clear on how file is found
           Product: D
           Version: 2.038
          Platform: Other
               URL: http://digitalmars.com/d/2.0/expression.html#ImportExp
                    ression
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nobody puremagic.com
        ReportedBy: jlquinn optonline.net


--- Comment #0 from Jerry Quinn <jlquinn optonline.net> 2010-01-14 23:44:11 PST
---
There is no information on how the file in an import expression is located. 
The simplest would be to use the module load path.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 14 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3708


Leandro Lucarella <llucax gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |llucax gmail.com


--- Comment #1 from Leandro Lucarella <llucax gmail.com> 2010-01-15 07:16:19
PST ---
The string import expressions are even more obscure. Current implementation
doesn't even allow string importing files in a directory, this is not stated
anywhere in the specs, but I think it should, otherwise is very hard to write
portable code that uses string imports.

I think the restriction should be removed too, see bug 3420.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 15 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3708


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |INVALID


--- Comment #2 from Walter Bright <bugzilla digitalmars.com> 2012-01-23
01:58:25 PST ---
Where the files are looked for is an implementation defined detail, and does
not belong in the language specification. On the dmd page
http://dlang.org/dmd-windows.html under the -J switch is the lookup detail.

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