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

           Summary: Direct using of Rebindable!T doesn't work
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: k.hara...@gmail.com


--- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2012-03-06 03:38:12 PST ---
void foo(immutable(char[]) s)
{
    auto r1 = rebindable(s);        // works as expected
    Rebindable!(typeof(s)) r2 = s;  // doesn't work!
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to