[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 15:39:54 UTC 2024


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

--- Comment #6 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dlang.org pull request #3893 "[spec] Improve attribute propagation docs"
was merged into master:

- d55c919d5de5e34235c24f40eb734d54d40f83e1 by Nick Treleaven:
  [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