http://d.puremagic.com/issues/show_bug.cgi?id=3269
Summary: pure functions silently become nothrow Product: D Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: and...@metalanguage.com class A { pure static void raise(string s) { throw new Exception(s); } } void main() { A.raise("a"); } This code compiles and runs without an error! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------