[Issue 20440] Associative arrays of BigInt does not support require or get function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 9 15:23:42 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20440
mipri <mipri at minimaltype.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mipri at minimaltype.com
--- Comment #1 from mipri <mipri at minimaltype.com> ---
with v2.086.1, either of the following permits the test case to compile:
in phobos/std/bigint.d, add a 'ref' to the following return type:
/// Assignment from another BigInt.
BigInt opAssign(T:BigInt)(T x) pure @nogc
in druntime/import/object.d, change the last line of require from
return found ? *p : (*p = value);
to
if (!found) *p = value;
return *p;
--
More information about the Digitalmars-d-bugs
mailing list