[Issue 14149] Bad std.algorithm error messages
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 16 19:50:54 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=14149
Nathan S. <n8sh.secondary at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
CC| |n8sh.secondary at hotmail.com
Resolution|--- |FIXED
--- Comment #5 from Nathan S. <n8sh.secondary at hotmail.com> ---
Current error message is:
/dlang/dmd/linux/bin64/../../src/phobos/std/functional.d-mixin-215(215): Error:
incompatible types for (__a) + (__b): string and int
/dlang/dmd/linux/bin64/../../src/phobos/std/algorithm/iteration.d(3383): Error:
template instance `std.functional.F!("a+b", "a", "b").binaryFun!(string, int)`
error instantiating
/dlang/dmd/linux/bin64/../../src/phobos/std/algorithm/iteration.d(3347):
instantiated from here: reduceImpl!(false, int[], string)
/dlang/dmd/linux/bin64/../../src/phobos/std/algorithm/iteration.d(3331):
instantiated from here: reducePreImpl!(int[], string)
onlineapp.d(5): instantiated from here: reduce!(string, int[])
--
More information about the Digitalmars-d-bugs
mailing list