September 01, 2020 [Issue 21213] preview=dtorfields with strict attributes in base class constructor | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21213 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @MoonlightSentinel updated dlang/dmd pull request #11659 " Fix Issue 21213 - preview=dtorfields with strict attributes... " fixing this issue: - Fix Issue 21213 - preview=dtorfields with strict attributes... ... in base class constructor - by infer attributes for generated subclass constructors. Simply copying the attributes from the base class ctor doesn't work if other lowerings extend the generated function body. This is e.g. problematic for `-preview=dtorfields` which adds a call to the destructor which is often less qualified than the constructor. https://github.com/dlang/dmd/pull/11659 -- | ||||
September 03, 2020 [Issue 21213] preview=dtorfields with strict attributes in base class constructor | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21213 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #11659 " Fix Issue 21213 - preview=dtorfields with strict attributes... " was merged into master: - fd9adfc77fee6e3f930e20e26063a58b847daf66 by MoonlightSentinel: Fix Issue 21213 - preview=dtorfields with strict attributes... ... in base class constructor - by infer attributes for generated subclass constructors. Simply copying the attributes from the base class ctor doesn't work if other lowerings extend the generated function body. This is e.g. problematic for `-preview=dtorfields` which adds a call to the destructor which is often less qualified than the constructor. https://github.com/dlang/dmd/pull/11659 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply