Thread overview
[Issue 21947] RedBlackTree and hashOf do not play well together
Dec 17, 2022
Iain Buclaw
April 03, 2022
https://issues.dlang.org/show_bug.cgi?id=21947

Steven Schveighoffer <schveiguy@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy@gmail.com

--- Comment #1 from Steven Schveighoffer <schveiguy@gmail.com> ---
This recently came up again: https://forum.dlang.org/post/kcrkxqsoeziyxouhbeik@forum.dlang.org

It's because the machinery to infer @safe and nothrow is not done for class methods, even on templated classes.

What needs to happen is a 2-layer method for `toHash`, where one is inferred, and the other one must copy the attributes.

I'm not sure why the hard-coded attributes were added, but they seem to have been added when `toHash` was added.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=21947

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 01
https://issues.dlang.org/show_bug.cgi?id=21947

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/phobos/issues/10467

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--