http://d.puremagic.com/issues/show_bug.cgi?id=8414
--- Comment #3 from Salih Dincer <sali...@hotmail.com> 2012-08-09 13:55:46 PDT --- Okay, samples below can be read at compile-time error messages: Sample-1: void main() { Enum en; with (Enum) // <-- ERROR: found '}' instead of statement } Sample-2: void main() { Enum en; with (Enum); // <-- ERROR: use '{ }' for an empty statement, not a ';' } Well, this code is doing what you want! Yes, it's a linker bug... void main() { Enum en; with (Enum) // <-- NO ERROR! if(true) en1.writeln; } Surprised...:) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------