[Issue 21928] Wrong location for "array literal in @nogc function main may cause GC allocation" error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 18 16:42:23 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21928
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@FeepingCreature updated dlang/dmd pull request #12530 "Fix issue 21928: pass
Loc to Cat() explicitly." fixing this issue:
- Fix issue 21928: pass Loc to Cat() explicitly.
Use location of concatenation for newly-created array literal, in the cases
element ~ literal and literal ~ element.
https://github.com/dlang/dmd/pull/12530
--
More information about the Digitalmars-d-bugs
mailing list