| Thread overview | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
June 10, 2016 [Issue 15889] Array bounds check should report index and length | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15889 Sobirari Muhomori <dfj1esp02@sneakemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://forum.dlang.org/pos | |t/anjleupyijcrwxdfowjr@foru | |m.dlang.org --- Comment #1 from Sobirari Muhomori <dfj1esp02@sneakemail.com> --- Similar idea: http://wiki.dlang.org/DIP83 -- | ||||
June 10, 2016 [Issue 15889] Array bounds check should report index and length | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15889 Sobirari Muhomori <dfj1esp02@sneakemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=5547 -- | ||||
June 10, 2016 [Issue 15889] Array bounds check should report index and length | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15889 Sobirari Muhomori <dfj1esp02@sneakemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic -- | ||||
July 14, 2021 [Issue 15889] Array bounds check should report index and length | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15889 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- @dkorpel updated dlang/dmd pull request #12871 "Add informative range errors for arrays" fixing this issue: - Fix issue 15889 - Array bounds check should report index and length Add changelog entry for RangeError with context Use new druntime calls for range errors with context https://github.com/dlang/dmd/pull/12871 -- | ||||
August 03, 2021 [Issue 15889] Array bounds check should report index and length | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15889 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #12871 "Fix issue 15889 - Array bounds check should report index and length" was merged into master: - d8cc8895809da775e58e80bbb7d721a92e7833b8 by dkorpel: Fix issue 15889 - Array bounds check should report index and length https://github.com/dlang/dmd/pull/12871 -- | ||||
November 04, 2021 [Issue 15889] Array bounds check should report index and length | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15889 mipri <mipri@minimaltype.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |mipri@minimaltype.com Resolution|FIXED |--- --- Comment #4 from mipri <mipri@minimaltype.com> --- The new error message has an absurd case: ```d unittest { string s1 = "hi"; char[5] s2; s2 = s1; } ``` core.exception.ArrayIndexError@length.d(4): index [2] exceeds array of length 5 -- | ||||
November 04, 2021 [Issue 15889] Array bounds check should report index and length | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15889 Dennis <dkorpel@live.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dkorpel@live.nl --- Comment #5 from Dennis <dkorpel@live.nl> --- That was fixed by https://github.com/dlang/dmd/pull/13010 -- | ||||
November 04, 2021 [Issue 15889] Array bounds check should report index and length | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15889 --- Comment #6 from Dennis <dkorpel@live.nl> --- PR to put the fix in stable: https://github.com/dlang/dmd/pull/13265 -- | ||||
November 09, 2021 [Issue 15889] Array bounds check should report index and length | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15889 Dennis <dkorpel@live.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Dennis <dkorpel@live.nl> --- Now merged to stable. If you need better error messages for out of bounds slice copy, please open a new enhancement request. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply