D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3102 - Incorrectly matching type as shared (two cases with is expressions)
Summary: Incorrectly matching type as shared (two cases with is expressions)
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Linux
: P2 normal
Assignee: No Owner
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2009-06-28 18:27 UTC by Jason House
Modified: 2015-06-09 01:27 UTC (History)
2 users (show)

See Also:


Attachments
file demonstrating issue (231 bytes, text/x-dsrc)
2009-06-28 18:27 UTC, Jason House
Details

Note You need to log in before you can comment on or make changes to this issue.
Description Jason House 2009-06-28 18:27:07 UTC
The attached file reproduces the issue.  Even though class foo is not shared, both forms of is expressions report that it is
Comment 1 Jason House 2009-06-28 18:27:54 UTC
Created attachment 406 [details]
file demonstrating issue
Comment 2 Leandro Lucarella 2009-10-29 06:47:50 UTC
Related SVN revision: http://www.dsource.org/projects/dmd/changeset/223
Comment 3 Walter Bright 2009-11-06 11:33:32 UTC
Fixed dmd 2.036