Thread overview | |||||
---|---|---|---|---|---|
|
November 08, 2006 [Issue 489] New: .classinfo not working with fqn | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=489 Summary: .classinfo not working with fqn Product: D Version: 0.173 Platform: PC OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: benoit@tionex.de 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 -- |
November 15, 2006 [Issue 489] .classinfo not working with fqn | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=489 deewiant@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from deewiant@gmail.com 2006-11-15 02:57 ------- Fixed in DMD 0.174. -- |
November 23, 2006 Re: [Issue 489] New: .classinfo not working with fqn | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail Attachments: | d-bugmail@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 |
Copyright © 1999-2021 by the D Language Foundation