digitalmars.D.bugs - [Issue 12292] New: Template specialization ": string" passes for static arrays of other types
- d-bugmail puremagic.com (31/31) Mar 03 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12292
- d-bugmail puremagic.com (10/10) Mar 03 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12292
- d-bugmail puremagic.com (13/13) Mar 04 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12292
- d-bugmail puremagic.com (9/9) Mar 04 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12292
https://d.puremagic.com/issues/show_bug.cgi?id=12292 Summary: Template specialization ": string" passes for static arrays of other types Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: thecybershadow gmail.com 18:39:38 EET --- ////////// test.d ////////// void fun(T : string)(T data) { string sdata = data; } void test() { ubyte[3] sa; fun(sa); } //////////////////////////// The specialization passes, and then the assignment inside the function fails to compile. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 03 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12292 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/3356 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 03 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12292 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/018a4fe7782b670ed44063ac0f6b3552d05689ef fix Issue 12292 - Template specialization ": string" passes for static arrays of other types https://github.com/D-Programming-Language/dmd/commit/554c68733a3656fa263a08d23652d512d24871ef Issue 12292 - Template specialization ": string" passes for static arrays of other types -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 04 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12292 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 04 2014