[Issue 19235] Repeatedly calling non-pure function in non-pure literal nested in pure function is broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 28 11:14:56 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=19235
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |WORKSFORME
--- Comment #2 from RazvanN <razvan.nitu1305 at gmail.com> ---
The code compiles with the latest git master, which is correct: you can define
a non pure function in a pure function as long as you don't call it.
--
More information about the Digitalmars-d-bugs
mailing list