[Issue 18058] @nogc and forwarding lazy argument, particularly with scope
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Dec 12 12:29:35 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=18058
Maksim Fomin <mxfm at protonmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
--- Comment #8 from Maksim Fomin <mxfm at protonmail.com> ---
(In reply to Shachar Shemesh from comment #7)
> (In reply to Maksim Fomin from comment #6)
> > As mentioned previously, this is how D works.
>
> Quite so. That's why the label on this page reads "bug".
I mean dmd works as intended and according to the spec. What you want is
outside of current compiler optimization. This does not prevent you from
requesting new behavior as an enhancement.
--
More information about the Digitalmars-d-bugs
mailing list