digitalmars.D.learn - Allocated memory escapes a reference to parameter variable
- Curtis (12/12) Apr 12 2021 I recently updated my compiler from 2.091.1 to 2.096.0. After
I recently updated my compiler from 2.091.1 to 2.096.0. After doing so, I started getting deprecations that I think may be related to the DIP25 change mentioned in the release notes here: https://dlang.org/changelog/2.092.0.html#dip25. Here's an example of the code that is generating the deprecation notices: https://run.dlang.io/is/MRFG1u I found this issue that seems to be very similar to what I am running into: https://issues.dlang.org/show_bug.cgi?id=21525. Can someone help me understand whether the deprecation notices are spurious (as in the issue above) and if not, what I need to do to fix the deprecations? Thanks!
Apr 12 2021