[Issue 13354] Algebraic.opIndex/opIndexAssign makes wrong assumptions on the index/value type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 6 09:44:40 PDT 2014


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

--- Comment #4 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/352dee3a8961f6b0403ae781145b8e3d881ab447
Fix issue #13354 - Use a generic Variant for passing opIndex/opIndexAssign
arguments.

Also improves the error message when an incompatible index or value type is
used by printing the actual type ID instead of "void[]" in the thrown
exception.

https://github.com/D-Programming-Language/phobos/commit/9c8a1a5dfed7f0dc29c22da936fe964f0042562e
Merge pull request #2453 from s-ludwig/issue_13354

Fix issue #13354 - Use a generic Variant for passing opIndex/opIndexAssign
arguments.

--


More information about the Digitalmars-d-bugs mailing list