On Tue, 02 Sep 2014 20:49:24 +
"Juanjo Alvarez via D.gnu" wrote:
it's a bug in std.array that was fixed after 2.065 lands in GDC.
it's commit ce7d4ed26a81ad44218f8948e5f83f36bc461029
you can either apply this change manually or wait until 2.066 lands.
signature.asc
Description: PGP signatu
Sorry, forgot to post versions (@excuse: I just returned from a
dinner and I'm a little drunk):
DMD: 2.0.65 and 2.0.66
GCD: (package downloaded from the site, Linux 64bits native):
Using built-in specs.
COLLECT_GCC=/home/juanjux/descargas/x86_64-gdcproject-linux-gnu/bin/gdc
COLLECT_LTO_WRAPPER=
test:
void main()
{
import std.array;
const lines = ["abc", "def"];
auto res = std.array.join(lines, "\n");
}
DMD: compiles and work
GCD: compile error:
test.d:6: error: template std.array.join cannot deduce function
from argument types !()(const(immutable(char)[][]), string),
can