[Issue 3269] New: pure functions silently become nothrow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 28 11:05:14 PDT 2009


           Summary: pure functions silently become nothrow
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrei at metalanguage.com

class A
    pure static void raise(string s)
        throw new Exception(s);

void main()

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: -------

More information about the Digitalmars-d-bugs mailing list