auto - should this work?
Thomas Kuehne
thomas-dloop at kuehne.cn
Mon May 22 13:21:16 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ivan Senji schrieb am 2005-11-28:
> static auto points =
> [[0,0],[1,0],[0,1],[1,1],[-1,-1],[-1,0],[0,-1],[-2,0],[2,0],[0,2]] ;
>
> Error: cannot infer type from initializer
> Error: cannot use array to initialize int
Added to DStress as
http://dstress.kuehne.cn/run/a/auto_18_C.d
http://dstress.kuehne.cn/run/a/auto_18_B.d
http://dstress.kuehne.cn/run/a/auto_18_A.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFEccAk3w+/yD4P9tIRAiSvAJsHzJo1ApPyKFAFDoF/MwNGRZAAZwCgnTWf
Bl3fIU3JA1T05cB3+oZARkY=
=IoyZ
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list