http://d.puremagic.com/issues/show_bug.cgi?id=4595
--- Comment #1 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2010-08-07 17:05:41 PDT --- And an additional example: class A { int x; } unittest { A a; assert(__traits(compiles, a.x = 5)); } void main() { } Compiles and runs succesfully. assert should fail. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------