[Issue 7616] aggregates don't inherit pure nothrow from outer scope
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Aug 18 13:02:04 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=7616
hsteoh at quickfur.ath.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hsteoh at quickfur.ath.cx
--- Comment #2 from hsteoh at quickfur.ath.cx ---
Gah, this is a mess. On git HEAD, the original produces this output:
------
@safe void()
pure nothrow @safe void()
------
which seems to indicate that "pure nothrow:" has no effect.
Commenting out the "pure nothrow:" line in Foo2 produces:
------
@safe void()
@safe void()
------
So basically, "pure nothrow:" doesn't work at all.
--
More information about the Digitalmars-d-bugs
mailing list