March 08, 2007 [Issue 1045] New: TypeInfo.toString broken for unions and structs | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1045 Summary: TypeInfo.toString broken for unions and structs Product: DGCC aka GDC Version: 0.23 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: glue layer AssignedTo: dvdfrdmn@users.sf.net ReportedBy: thomas-dloop@kuehne.cn # module dstress.run.typeid_70; # # struct MyStruct{ # int dummy; # } # # int main(){ # TypeInfo ti = typeid(MyStruct); # assert(ti.toString()=="dstress.run.typeid_70.MyStruct"); # return 0; # } gdmd-0.23 -m64 run/typeid_70.d -ofx && ./x Error: AssertError Failure run/typeid_70.d(16) gdmd-0.23 -m32 run/typeid_70.d -ofx && ./x success test cases: http://dstress.kuehne.cn/run/typeid_70.d http://dstress.kuehne.cn/run/typeid_71.d http://dstress.kuehne.cn/run/typeid_72.d http://dstress.kuehne.cn/run/typeid_73.d http://dstress.kuehne.cn/run/typeid_74.d http://dstress.kuehne.cn/run/typeid_78.d http://dstress.kuehne.cn/run/typeid_80.d -- |
July 22, 2007 [Issue 1045] TypeInfo.toString broken for unions and structs | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1045 dvdfrdmn@users.sf.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from dvdfrdmn@users.sf.net 2007-07-22 10:58 ------- Fixed as of svn r132 / release 0.24 by earlier changes. -- |
Copyright © 1999-2021 by the D Language Foundation