deprecate sequtils.delete and add an overload with saner semantics consistent with system.delete (#18487)

* deprecate sequtils.delete and add an overload with saner semantics
* AssertionDefect => IndexDefect
* improve tsequtils
* add tests; use splice in js for optimization
This commit is contained in:
Timothee Cour 2021-07-15 11:54:07 -07:00 • committed by GitHub
commit 1d6863a789
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 144 additions and 48 deletions

View file

@ -346,6 +346,9 @@
- 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.
## Language changes
- `nimscript` now handles `except Exception as e`.