Summary: aggregates don't inherit pure nothrow from outer scope
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-02-29 23:02:12 PST ---
@safe:             // works
pure nothrow:      // doesn't work

struct Foo1
    void bar() {}

struct Foo2
pure nothrow:      // redundant
    void bar() {}

pragma(msg, typeof(;
pragma(msg, typeof(;

@property doesn't work either.

I liked Don's idea of an attribute stack in the parser
to get rid of these inconsistencies.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to