[Issue 23815] closure allocated even if the escape is only used to access static members
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 29 22:51:35 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23815
--- Comment #2 from Basile-z <b2.temp at gmx.com> ---
> No problem, the code compiles for me:
It's not a bug report, it's about the fact that the front-end add the code to
allocate a closure that's useless. Then it is eventually optimized away but in
first place it should not even be there, even without optimz.
--
More information about the Digitalmars-d-bugs
mailing list