[Issue 3504] [module] import foo: *; should be supported if imports are static by default

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3504

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|future  |D2

--


[Issue 3504] [module] import foo: *; should be supported if imports are static by default

2012-02-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3504


d...@dawgfoto.de changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||d...@dawgfoto.de
 Resolution||WONTFIX


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


[Issue 3504] [module] import foo: *; should be supported if imports are static by default

2009-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3504



--- Comment #1 from Leandro Lucarella llu...@gmail.com 2009-11-14 09:39:42 
PST ---
Here is an example on how this should work with modules and packages:

mod.d:
void f() {}

pkg/a.d:
void f() {}

pkg/pkg.d:
void f() {}

x.d:
import mod: *;
import pkg: *;

void main() {
f(); // mod.f
a.f();   // pkg.a.f
pkg.f(); // pkg.pkg.f
}

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