Skip to content

Commit

Permalink
Update Foreword for V8 (#1204)
Browse files Browse the repository at this point in the history
* Update Foreword for V8

* fix md
  • Loading branch information
RexJaeschke authored Nov 14, 2024
1 parent 773fdb8 commit bd54cdb
Showing 1 changed file with 16 additions and 28 deletions.
44 changes: 16 additions & 28 deletions standard/foreword.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,19 @@
# Foreword

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

- Binary integer literals
- Embedded digit separators in numeric literals
- Leading-digit separators in binary and hexadecimal integer literals
- `out` variables
- Discards
- Tuple types
- Pattern Matching
- `ref` locals and returns, conditional `ref` expressions, `ref` with `this` in extension methods, and reassignment of `ref` local variables
- Local Functions
- More expression-bodied members
- `throw` Expressions
- Generalized `async` return types
- `async Main` method
- `default` literal expressions
- Non-trailing named arguments
- `private protected` access modifier
- `in` parameter modifier
- `readonly` structs
- `ref` structs
- Indexing movable fixed buffer without pinning
- Initializers on `stackalloc` arrays
- Pattern-based `fixed` statements
- `System.Delegate` and `System.Enum` as *class_type* constraints.
- Additional generic constraints
- Allow expression variables in more locations
- Attach attributes to the backing field of auto-implemented properties
- Reduce ambiguity of overload resolution
- 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
- ranges and indexes
- readonly instance members
- name shadowing in nested functions
- static local functions
- ?? Disposable ref structs

0 comments on commit bd54cdb

Please sign in to comment.