Bugfix for "undefined identifier _min" in SharedFreeList.#5556
Bugfix for "undefined identifier _min" in SharedFreeList.#5556dlang-bot merged 1 commit intodlang:masterfrom
Conversation
|
Thanks for your pull request, @chadjoan! We are looking forward to reviewing it, and you should be hearing from a maintainer soon. Some tips to help speed things up:
Bear in mind that large or tricky changes may require multiple rounds of review and revision. Please see CONTRIBUTING.md for more information. 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. |
|
Roger. Hope that does it. |
|
You should try to rebase [1] . Hopefully that will get rid of the CyberShadow failure (you probably have an older version of phobos and the tools that come with it.) [1] https://wiki.dlang.org/Starting_as_a_Contributor#Rebasing |
Thanks to the CircleCi magic at #5559, simply restarting CircleCi should be enough (I just did this) |
wilzbach
left a comment
There was a problem hiding this comment.
Looks reasonable, though while you are at it, a test for min as well, wouldn't hurt ;-)
I don't think that should cause the documentation tester to fail. Please ping me if everything but the documentation tester is failing, and you think it shouldn't. |
b775b0f to
efe31d8
Compare
|
I squashed/rebased and added a test for min being chooseAtRuntime while maxSize is chosen at compile time. |
efe31d8 to
0c41d96
Compare
When instantiating SharedFreeList with a 0 minSize and a chooseAtRuntime maxSize, it will give an error like so: std/experimental/allocator/building_blocks/free_list.d(822): Error: undefined identifier _min, did you mean alias min? This commit resolves the error message by using 'min' instead of '_min', because '_min' is only available when (minSize == chooseAtRuntime).
Thanks. I also added |
When instantiating SharedFreeList with a 0 minSize and a
chooseAtRuntime maxSize, it will give an error like so:
std/experimental/allocator/building_blocks/free_list.d(822): Error: undefined identifier _min, did you mean alias min?
This commit resolves the error message by using 'min' instead
of '_min', because '_min' is only available when
(minSize == chooseAtRuntime).