http://d.puremagic.com/issues/show_bug.cgi?id=7616
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 AssignedTo: nob...@puremagic.com ReportedBy: d...@dawgfoto.de --- Comment #0 from d...@dawgfoto.de 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(Foo1.bar)); pragma(msg, typeof(Foo2.bar)); @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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------