Changes before 1.0
Thomas Kuehne
thomas-dloop at kuehne.cn
Sun Dec 3 00:11:58 PST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jordan Miner schrieb am 2006-12-02:
> --1--
> The following does not work, but it really should:
> void print(char[][] strs) { }
> print(["Matt", "Andrew"]);
> Gives:
> Error: cannot implicitly convert expression ("Andrew") of type char[6] to char[4]
current by-pass:
print([cast(char[])"Matt", "Andrew"]);
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFcokqLK5blCcjpWoRApj5AJsEefCVGCPbDNEbQ7w2X4o2YfFxiQCeNSMj
UrCf1EgP/ihgUeHVVOpc6go=
=Vr9o
-----END PGP SIGNATURE-----
More information about the Digitalmars-d
mailing list