improves the 2.2.0 changelog (#24256)

(cherry picked from commit 30e552e3d3)
This commit is contained in:
ringabout
2024-10-08 04:08:58 +08:00
committed by narimiran
parent 13110fc5d3
commit 2d4e1f981e

View File

@@ -22,9 +22,9 @@
- `bindMethod` in `std/jsffi` is deprecated, don't use it with closures.
- JS backend now supports lambda lifting for closures. Use `--legacy:jsNoLambdaLifting` to emulate old behaviors.
- The JS backend now supports lambda lifting for closures. Use `--legacy:jsNoLambdaLifting` to emulate old behaviors.
- JS backend now supports closure iterators.
- The JS backend now supports closure iterators.
- `owner` in `std/macros` is deprecated.
@@ -125,7 +125,7 @@ is often an easy workaround.
- `member` can be used to attach a procedure to a C++ type.
- C++ `constructor` now reuses `result` instead creating `this`.
- Inside a C++ constructor, `result` can be used to access the created object rather than `this`.
- Tuple unpacking changes:
- Tuple unpacking assignment now supports using underscores to discard values.