|
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 | +- Init accessors |
| 6 | +- Top-level statements |
| 7 | +- Native-sized integers |
| 8 | +- Records |
| 9 | +- Function pointers |
| 10 | +- Pattern matching enhancements |
| 11 | +- Static anonymous functions |
| 12 | +- Target-typed conditional expressions |
| 13 | +- Covariant return types |
| 14 | +- Extension `GetEnumerator` support for `foreach` loops |
| 15 | +- Lambda discard parameters |
| 16 | +- Attributes and `extern` on local functions |
| 17 | +- Module initializers |
| 18 | +- New features for partial methods |
| 19 | +- Target-typed `new` expressions |
| 20 | +- Unconstrained type parameter annotations |
| 21 | +- Variance safety for static interface members |
| 22 | +- Nullable reference types |
| 23 | +- Nullable constructor analysis |
| 24 | +- Nullable parameter default value analysis |
0 commit comments