[Issue 14037] Problem with BigInt and std.functional.memoize
https://issues.dlang.org/show_bug.cgi?id=14037 sinkuup...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from sinkuup...@gmail.com --- The compiler problem was fixed. Closing. However, memoize shouldn't assume that an overloaded opAssign returns the object. So I think your fix to memoize is necessary. Ignore this. I didn't know that AA assignment expression always returns object on rhs. --
[Issue 14037] Problem with BigInt and std.functional.memoize
https://issues.dlang.org/show_bug.cgi?id=14037 sinkuup...@gmail.com changed: What|Removed |Added CC||sinkuup...@gmail.com Hardware|x86 |All OS|Windows |All --- Comment #1 from sinkuup...@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. --