|
1 | 1 | # Foreword |
2 | 2 |
|
3 | | -This specification replaces ECMA-334:2023. Changes from the previous edition include the addition of the following features: |
| 3 | +This specification replaces ECMA-334:2026. Changes from the previous edition include the addition of the following features: |
4 | 4 |
|
5 | | -- enhanced interpolated verbatim strings |
6 | | -- asynchronous streams |
7 | | -- `using` declarations and `async using` |
8 | | -- generic method override with constraints |
9 | | -- unmanaged constructed types |
10 | | -- default member implementations in interfaces |
11 | | -- permit `stackalloc` in nested contexts |
12 | | -- `notnull` constraint |
13 | | -- null coalescing assignment |
14 | | -- nullable reference types |
15 | | -- positional, property, and discard patterns |
16 | | -- ranges and indexes |
17 | | -- readonly instance members |
18 | | -- name shadowing in nested functions |
19 | | -- static local functions |
20 | | -- Disposable ref structs |
| 5 | +- `record class` as an alias for `record` |
| 6 | +- record structs |
| 7 | +- Record types can seal `ToString` |
| 8 | +- Enhanced `#line` directives |
| 9 | +- `CallerArgumentExpression` attribute for diagnostics |
| 10 | +- Interpolated string handler |
| 11 | +- Constant interpolated strings |
| 12 | +- File Scoped Namespaces |
| 13 | +- Allow `AsyncMethodBuilder` attribute on methods |
| 14 | +- Assignment and declaration in the same deconstruction |
| 15 | +- Improved definite assignment |
| 16 | +- Lambda expression improvements |
| 17 | +- Extended property patterns |
| 18 | +- Global using directives |
| 19 | +- Improvements to structure types |
0 commit comments