D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2738 - Rebindable should work for interfaces.
Summary: Rebindable should work for interfaces.
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: Shin Fujishiro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-16 16:03 UTC by David Simcha
Modified: 2015-06-09 05:14 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description David Simcha 2009-03-16 16:03:20 UTC
std.typecons.Rebindable only works for class instances derived from Object.  It should also work when the compile-time type of the object is an interface.
Comment 1 Shin Fujishiro 2010-05-23 21:33:53 UTC
Fixed in svn r1550.