digitalmars.D.bugs - [Issue 10476] New: Allow array operations with implicit casts
- d-bugmail puremagic.com (26/26) Jun 26 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10476
http://d.puremagic.com/issues/show_bug.cgi?id=10476 Summary: Allow array operations with implicit casts Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: r.97all gmail.com --- import std.stdio; void main() { int[] a; a.length = 3; uint[] b; b.length = 3; a[] += b[]; // Error: incompatible types for ((a[]) += (b[])): 'int[]' and 'uint[]' } issue 2434 states that we need a way to add _explicit_ casts into arary operation. IMO implicit casts are more frequently used and important. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 26 2013