[Issue 6196] with statement with single statement breaks linking
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 22 11:50:11 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6196
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc 2011-06-22 11:45:22 PDT ---
(In reply to comment #0)
> module test;
> static import std.stdio;
>
> void main()
> {
> with (std.stdio) writeln();
My guess is that with() was designed mostly for struct instances, class
instances, and enum instances. I didn't even know you are allowed to use it
with modules.
--
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