mirror of
https://github.com/dart-lang/sdk
synced 2024-09-19 23:31:42 +00:00
91d55ad64d
This improves the runtime error by correctly reporting that the end index is not within range for `"abcdefgh".substring(5, 2)` instead of reporting that the start index is invalid. Change-Id: If6fd0223f311c75fc44fe9123b4b2b070031e6c7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/194240 Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
api_readme.md | ||
BUILD.gn |