Bug 22733 – hdrgen generates inconsistent order of STC attributes for ~this()

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2022-02-03T17:48:08Z
Last change time
2022-02-03T22:41:09Z
Keywords
pull
Assigned to
No Owner
Creator
Luís Ferreira

Comments

Comment #0 by contact — 2022-02-03T17:48:08Z
The order of generated attributes are inconsistent with `this()` and `~this()`, e.g.
Comment #1 by dlang-bot — 2022-02-03T17:48:54Z
@ljmf00 updated dlang/dmd pull request #13608 "hdrgen: use stcToBuffer instead of duplicate logic" fixing this issue: - hdrgen: use stcToBuffer instead of duplicate logic Fix issue 22733. Signed-off-by: Luís Ferreira <[email protected]> https://github.com/dlang/dmd/pull/13608
Comment #2 by dlang-bot — 2022-02-03T22:41:09Z
dlang/dmd pull request #13608 "Fix issue 22733: hdrgen generates inconsistent order of STC attributes for ~this()" was merged into master: - 7f85ae18476a3a19b2dd720a9278ebadb37656f4 by Luís Ferreira: hdrgen: use stcToBuffer instead of duplicate logic Fix issue 22733. Signed-off-by: Luís Ferreira <[email protected]> https://github.com/dlang/dmd/pull/13608