Bug 3102 – Incorrectly matching type as shared (two cases with is expressions)

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2009-06-28T18:27:00Z
Last change time
2015-06-09T01:27:56Z
Keywords
wrong-code
Assigned to
nobody
Creator
jason.james.house

Attachments

IDFilenameSummaryContent-TypeSize
406main.dfile demonstrating issuetext/x-dsrc231

Comments

Comment #0 by jason.james.house — 2009-06-28T18:27:07Z
The attached file reproduces the issue. Even though class foo is not shared, both forms of is expressions report that it is
Comment #1 by jason.james.house — 2009-06-28T18:27:54Z
Created attachment 406 file demonstrating issue
Comment #2 by leandro.lucarella — 2009-10-29T06:47:50Z
Comment #3 by bugzilla — 2009-11-06T11:33:32Z
Fixed dmd 2.036