[Issue 3506] [module] Imports should be valid at any scope
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 14 05:40:38 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3506
dawg at dawgfoto.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dawg at dawgfoto.de
Resolution| |WORKSFORME
--- Comment #1 from dawg at dawgfoto.de 2012-02-14 05:40:37 PST ---
cat > foo.d << CODE
void bar() {}
CODE
cat > ut.d << CODE
unittest
{
import foo;
foo.bar();
}
CODE
dmd -c -unittest ut.d
--
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