remove deprecation from math.round (#15224)

This commit is contained in:
Miran 2020-08-25 15:59:42 +02:00 • committed by GitHub
commit 5163fe7d87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -164,7 +164,14 @@
echo foo
```
- Proc `math.round` is no longer deprecated. The advice to use `strformat` instead
cannot be applied to every use case. The limitations and the (lack of) reliability
of `round` are well documented.
## Language changes
- The `=destroy` hook no longer has to reset its target, as the compiler now automatically inserts
`wasMoved` calls where needed.
- In the newruntime it is now allowed to assign to the discriminator field