https://issues.dlang.org/show_bug.cgi?id=21236

Lionello Lunesu <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Lionello Lunesu <[email protected]> ---
This is problematic when trying to implement `toHash` for a type that has a
nested AA.

Without `nothrow` on `toHash` you get:

source/value.d(481,13): Error: _aaApply2 is not nothrow

With `nothrow` you get:

source/value.d(461,12): Warning: toHash() must be declared as extern (D) size_t
toHash() const nothrow @safe, not const pure @trusted ulong()

--

Reply via email to