[Issue 7654] New: Direct using of Rebindable!T doesn't work
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 6 03:38:12 PST 2012
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: nobody at puremagic.com
ReportedBy: k.hara.pg at gmail.com
--- Comment #0 from Kenji Hara <k.hara.pg at 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: -------
More information about the Digitalmars-d-bugs
mailing list