Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 21 additions & 17 deletions standard/foreword.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
# Foreword

This specification replaces ECMA-334:2023. Changes from the previous edition include the addition of the following features:
This specification replaces ECMA-334:2026. Changes from the previous edition include the addition of the following features:

- enhanced interpolated verbatim strings
- asynchronous streams
- `using` declarations and `async using`
- generic method override with constraints
- unmanaged constructed types
- default member implementations in interfaces
- permit `stackalloc` in nested contexts
- `notnull` constraint
- null coalescing assignment
- nullable reference types
- positional, property, and discard patterns
- ranges and indexes
- readonly instance members
- name shadowing in nested functions
- static local functions
- Disposable ref structs
- Init accessors
- Top-level statements
- Native-sized integers
- Records
- Function pointers
- Pattern matching enhancements
- Static anonymous functions
- Target-typed conditional expressions
- Covariant return types
- Extension `GetEnumerator` support for `foreach` loops
- Lambda discard parameters
- Attributes and `extern` on local functions
- Module initializers
- New features for partial methods
- Target-typed `new` expressions
- Unconstrained type parameter annotations
- Variance safety for static interface members
- Nullable reference types
- Nullable constructor analysis
- Nullable parameter default value analysis
Loading