[Issue 3504] [module] import foo: *; should be supported if imports are static by default
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 14 09:39:43 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3504
--- Comment #1 from Leandro Lucarella <llucax at 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: -------
More information about the Digitalmars-d-bugs
mailing list