[Issue 489] New: .classinfo not working with fqn
Thomas Kuehne
thomas-dloop at kuehne.cn
Thu Nov 23 02:54:15 PST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
d-bugmail at puremagic.com schrieb am 2006-11-08:
> http://d.puremagic.com/issues/show_bug.cgi?id=489
> module t;
> class C2{
> static int value;
> }
> void main(){
> auto v1 = t.C2.value;
> auto v2 = C2.classinfo;
> auto v3 = t.C2.classinfo; // line 10
> }
> t.d(10): undefined identifier class C2.classinfo
> t.d(10): variable t.main.v3 voids have no value
> t.d(10): undefined identifier class C2.classinfo
> t.d(10): voids have no value
> t.d(10): cannot implicitly convert expression (class C2.classinfo) of type void
> to int
Added to DStress as
http://dstress.kuehne.cn/run/c/classinfo_01_A.d
http://dstress.kuehne.cn/run/c/classinfo_01_B.d
http://dstress.kuehne.cn/run/c/classinfo_01_C.d
http://dstress.kuehne.cn/run/c/classinfo_01_D.d
http://dstress.kuehne.cn/run/c/classinfo_01_E.d
http://dstress.kuehne.cn/run/c/classinfo_01_F.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFZYfALK5blCcjpWoRAvu+AJ9g1Txoc29OfGSoQKPt74D7yDyNXACfcQVw
hHI84T/kHDjZRob/32m2xbo=
=62lR
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list