Summary: Rebindable does not work with forward declarations
           Product: D
           Version: 2.036
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Michel Fortin <> 2009-12-17 
13:30:13 EST ---
import std.typecons;

class A {
    Rebindable!(const B) r;

class B {
    Rebindable!(const A) r;

Changing the template condition of Rebindable to use is(T == class) instead of 
is(T : Object) fixes things.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to