← Back to index
|
Original Bugzilla link
Bug 1046 – TypeInfo.opEquals broken for structs
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2007-03-08T10:34:00Z
Last change time
2015-06-09T05:15:19Z
Assigned to
dvdfrdmn
Creator
thomas-dloop
Comments
Comment #0
by thomas-dloop — 2007-03-08T10:34:37Z
# int main(){ # struct A{ # } # # struct B{ # } # # if(typeid(A) != typeid(B)){ # return 0; # } # assert(0); # } gdmd-0.23 -m64 run/t/typeid_86_A.d -ofx && ./x && echo success Error: AssertError Failure run/t/typeid_86_A.d(21) gdmd-0.23 -m32 run/t/typeid_86_A.d -ofx && ./x && echo success success test cases:
http://dstress.kuehne.cn/run/t/typeid_86_A.d
http://dstress.kuehne.cn/run/t/typeid_86_C.d
http://dstress.kuehne.cn/run/t/typeid_91_D.d
http://dstress.kuehne.cn/run/t/typeid_91_D.d
Comment #1
by dvdfrdmn — 2007-07-22T11:00:51Z
Fixed as of svn r132 / release 0.24 by earlier changes