[Issue 7616] aggregates don't inherit pure, @nogc, nothrow from outer scope

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 3 13:53:37 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=7616

--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel created dlang/dlang.org pull request #3893 "[spec] Improve attribute
propagation docs" mentioning this issue:

- [spec] Improve attribute propagation docs

  Part of Bugzilla 7616 - aggregates don't inherit pure nothrow from outer
scope

  Add grammar heading.
  `@nogc`, `nothrow` and `pure` do not propagate inside aggregates.
  Add example.
  Add link to core.attribute.

https://github.com/dlang/dlang.org/pull/3893

--


More information about the Digitalmars-d-bugs mailing list