http://d.puremagic.com/issues/show_bug.cgi?id=9063
Summary: static assert should resolve property function call Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2012-11-22 19:50:11 PST --- These code should work. @property bool foo(){ return true; } static assert(foo); // should pass assertion @property string bar() { return "msg"; } static assert(false, bar); // should print "msg" -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------