[Issue 14037] Problem with BigInt and std.functional.memoize

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jan 31 08:06:48 PST 2015


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

sinkuupump at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sinkuupump at gmail.com
           Hardware|x86                         |All
                 OS|Windows                     |All

--- Comment #1 from sinkuupump at gmail.com ---
Error on assigning to AA of BigInt seems a compiler problem:
https://issues.dlang.org/show_bug.cgi?id=14089

However, memoize shouldn't assume that an overloaded opAssign returns the
object. So I think your fix to memoize is necessary.

--


More information about the Digitalmars-d-bugs mailing list