biguintcore.d: add return scope annotations#8105
biguintcore.d: add return scope annotations#8105WalterBright wants to merge 1 commit intodlang:masterfrom
Conversation
|
Thanks for your pull request, @WalterBright! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + phobos#8105" |
|
blocking #8104 |
|
Getting this merged will also enable #8104 which will further reduce the scope of the remaining work to be done. |
|
Note that this PR is an exact copy of @nordlow 's work on biguintcore.d, it is not my work. |
My concern is that when we rush this, we move from "memory corruption because of dmd bug" to "memory corruption because of overzealous |
My intention is to remove them as soon as the dmd branch has been merged. Shall I make a list of them in the dmd PR? I've added references to the phobos PRs at dlang/dmd#12520 that use @trusted to elide faulty |
|
@nordlow I appreciate the work you're doing here. My goal here is to:
(biguintcore appears to be a leaf file!) I defer to you on this, @nordlow ! |
@nordlow has already been doing that, see: #8076 (comment) |
|
Please consider merging #8081 instead. I made to compile locally without any need for extra |
|
Closed in favor of #8081 |
These are the changes from #8076 made to std.internal.math.biguintcore to keep the PR size down. It adds
returnandscopeannotations.