Bug 6016 – Struct named Object with class in one module
Status
RESOLVED
Resolution
DUPLICATE
Severity
trivial
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-05-16T04:21:00Z
Last change time
2015-06-09T05:11:56Z
Keywords
diagnostic, ice-on-invalid-code
Assigned to
nobody
Creator
alienballance
Comments
Comment #0 by alienballance — 2011-05-16T04:21:13Z
Compiling
<code>
class a {}
struct Object {}
</code>
results in:
Assertion failure: 'b->type->ty == Tclass' on line 464 in file 'class.c'
Some meaningful name about confusion with object.d would be nice
Comment #1 by clugdbug — 2011-06-23T00:55:38Z
*** This issue has been marked as a duplicate of issue 4364 ***