[Issue 10910] Duplicate error messages for array bounds errors
https://issues.dlang.org/show_bug.cgi?id=10910 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #3 from Dlang Bot --- @WalterBright updated dlang/dmd pull request #15314 "fix https://issues.dlang.org/show_bug.cgi?id=10910; fixing this issue: - fix Issue 10910 - Duplicate error messages for array bounds errors https://github.com/dlang/dmd/pull/15314 --
[Issue 10910] Duplicate error messages for array bounds errors
https://issues.dlang.org/show_bug.cgi?id=10910 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=18528 --
[Issue 10910] Duplicate error messages for array bounds errors
https://issues.dlang.org/show_bug.cgi?id=10910 Iain Buclaw changed: What|Removed |Added Priority|P2 |P3 --
[Issue 10910] Duplicate error messages for array bounds errors
https://issues.dlang.org/show_bug.cgi?id=10910 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|D1 D2 |D2 --
[Issue 10910] Duplicate error messages for array bounds errors
https://issues.dlang.org/show_bug.cgi?id=10910 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment #2 from Kenji Hara k.hara...@gmail.com --- *** Issue 12943 has been marked as a duplicate of this issue. *** --
[Issue 10910] Duplicate error messages for array bounds errors
http://d.puremagic.com/issues/show_bug.cgi?id=10910 --- Comment #1 from Don clugd...@yahoo.com.au 2013-08-27 11:52:20 PDT --- A couple more examples: void bug10910(string y) {} char example() { char c = abcdef[17]; char [7] x = abc[12]; int ww = abc[dsdffg[9]]; int m = new int[as[218]]; auto aa = [0:0]; aa.remove(dgffs[356]); bug10910(sdgdf[14..16]); return c; } The last line gives a particularly silly error message: junk.d(80): Error: string slice [14 .. 16] is out of bounds junk.d(80): Error: function junk.bug10910 (string y) is not callable using argument types (string) Converting string to string is not exactly rocket science. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---