digitalmars.D.bugs - auto - should this work?
- Ivan Senji (4/4) Nov 28 2005 static auto points =
- Thomas Kuehne (13/17) May 22 2006 -----BEGIN PGP SIGNED MESSAGE-----
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
Nov 28 2005
-----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 intAdded 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-----
May 22 2006