Bug 24583 – di generator emits return scope and scope return in wrong order

Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2024-06-03T14:10:46Z
Last change time
2024-06-18T14:13:05Z
Keywords
mangling, pull, safe
Assigned to
No Owner
Creator
Richard (Rikki) Andrew Cattermole

Comments

Comment #0 by alphaglosined — 2024-06-03T14:10:46Z
Currently the .di generator order scope and return correctly. Actual: ``nothrow @nogc return scope @trusted sidero.base.text.unicode.builder_utf8.StringBuilder_UTF8 sidero.base.text.unicode.builder_utf8.StringBuilder_UTF8.append(const(char)[]...)`` Generated: ``nothrow @nogc scope return @trusted sidero.base.text.unicode.builder_utf8.StringBuilder_UTF8 sidero.base.text.unicode.builder_utf8.StringBuilder_UTF8.append(const(char)[]...)`` This blocks all usage of the .di generator.
Comment #1 by dlang-bot — 2024-06-17T21:04:02Z
@dkorpel created dlang/dmd pull request #16595 "Fix bugzilla 24583 - di generator emits return scope and scope return…" fixing this issue: - Fix bugzilla 24583 - di generator emits return scope and scope return in wrong order https://github.com/dlang/dmd/pull/16595
Comment #2 by dlang-bot — 2024-06-18T14:13:05Z
dlang/dmd pull request #16595 "Fix bugzilla 24583 - di generator emits return scope and scope return…" was merged into master: - d77327ff35452958c5412811393f6d6d0bbdd574 by Dennis Korpel: Fix bugzilla 24583 - di generator emits return scope and scope return in wrong order https://github.com/dlang/dmd/pull/16595