From b8dbdf34630c716cf8b855af79c4ca008523f606 Mon Sep 17 00:00:00 2001 From: Rex Jaeschke Date: Tue, 20 Jan 2026 17:31:05 -0500 Subject: [PATCH 1/2] Update foreword.md --- standard/foreword.md | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/standard/foreword.md b/standard/foreword.md index edee198a4..46ab3246b 100644 --- a/standard/foreword.md +++ b/standard/foreword.md @@ -1,20 +1,19 @@ # 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 +- `record class` as an alias for `record` +- record structs +- Record types can seal `ToString` +- Enhanced `#line` directives +- `CallerArgumentExpression` attribute for diagnostics +- Interpolated string handler +- Constant interpolated strings +- File Scoped Namespaces +- Allow `AsyncMethodBuilder` attribute on methods +- Assignment and declaration in the same deconstruction +- Improved definite assignment +- Lambda expression improvements +- Extended property patterns +- Global using directives +- Improvements to structure types From 6807351fcb88924ca1ed05029ad7b4d70123b7b8 Mon Sep 17 00:00:00 2001 From: Rex Jaeschke Date: Sun, 8 Feb 2026 16:05:18 -0500 Subject: [PATCH 2/2] Apply suggestion from @RexJaeschke --- standard/foreword.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standard/foreword.md b/standard/foreword.md index 46ab3246b..c66a400f3 100644 --- a/standard/foreword.md +++ b/standard/foreword.md @@ -7,7 +7,7 @@ This specification replaces ECMA-334:2026. Changes from the previous edition inc - Record types can seal `ToString` - Enhanced `#line` directives - `CallerArgumentExpression` attribute for diagnostics -- Interpolated string handler +- Interpolated string handler - Constant interpolated strings - File Scoped Namespaces - Allow `AsyncMethodBuilder` attribute on methods