Bug 2738 – Rebindable should work for interfaces.

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2009-03-16T16:03:00Z
Last change time
2015-06-09T05:14:44Z
Assigned to
rsinfu
Creator
dsimcha

Comments

Comment #0 by dsimcha — 2009-03-16T16:03:20Z
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 by rsinfu — 2010-05-23T21:33:53Z
Fixed in svn r1550.