digitalmars.D.bugs - [Issue 7616] New: aggregates don't inherit pure nothrow from outer scope
- d-bugmail puremagic.com (33/33) Feb 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7616
- d-bugmail puremagic.com (11/11) Apr 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7616
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: nobody puremagic.com ReportedBy: dawg dawgfoto.de --- Comment #0 from dawg 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: -------
Feb 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7616 SomeDude <lovelydear mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lovelydear mailmetrash.com --- Comment #1 from SomeDude <lovelydear mailmetrash.com> 2012-04-20 02:46:05 PDT --- What do you mean by "doesn't work ?" This code compiles on 2.059, but I'm not sure what you wanted to test. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 20 2012