deprecate strutils.delete and add an overload with saner semantics consistent with sequtils.delete; follows #18487 (#18510)

This commit is contained in:
Timothee Cour 2021-07-18 02:10:08 -07:00 • committed by GitHub
commit adba5eb45e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 57 additions and 7 deletions

View file

@ -346,7 +346,7 @@
- Added `dom.setInterval`, `dom.clearInterval` overloads.
- Deprecated `sequtils.delete` and added an overload taking a `Slice` that raises a defect
if the slice is out of bounds.
if the slice is out of bounds, likewise with `strutils.delete`.
## Language changes