http://d.puremagic.com/issues/show_bug.cgi?id=3625

           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
        AssignedTo: nob...@puremagic.com
        ReportedBy: michel.for...@michelf.com


--- Comment #0 from Michel Fortin <michel.for...@michelf.com> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to