[Issue 6196] with statement with single statement breaks linking
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 27 10:47:28 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6196
--- Comment #6 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-27 10:47:27 PDT ---
The symbol is probably not referenced properly or something.
module test;
static import std.stdio;
void main()
{
std.stdio.writeln("test"); // reference symbol
with (std.stdio) writeln("test");
}
If you remove the commented line you'll get a linker error.
--
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