From 10f208b8a9439e5ec1b158501fe73e3f0895b709 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 | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/standard/foreword.md b/standard/foreword.md index a6a4023c0..46ab3246b 100644 --- a/standard/foreword.md +++ b/standard/foreword.md @@ -2,23 +2,18 @@ This specification replaces ECMA-334:2026. Changes from the previous edition include the addition of the following features: -- 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 +- `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 5dca33477169fda8992784697cbe5d5d9c09b30f 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