mirror of
https://github.com/dart-lang/sdk
synced 2024-10-02 23:59:16 +00:00
Update CHANGELOG.md
Clarify that extension methods in 2.6 are in preview Closes #39016 https://github.com/dart-lang/sdk/pull/39016 GitOrigin-RevId: 6f6a43bcfa314a0a7eea644ef588555550bef434 Change-Id: If018d323a358db465e9c60ae1ef1d0baec8ed178 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/122400 Reviewed-by: Alexander Thomas <athom@google.com>
This commit is contained in:
parent
2a12a13d96
commit
c8b903c2f9
|
@ -4,9 +4,11 @@
|
|||
|
||||
### Language
|
||||
|
||||
* [Static extension members][]: A new language feature allowing
|
||||
* **[IN PREVIEW]** [Static extension members][]: A new language feature allowing
|
||||
specially declared static functions to be invoked
|
||||
like instance members on expressions of appropriate static types.
|
||||
like instance members on expressions of appropriate static types
|
||||
is available in preview.
|
||||
|
||||
Static extension members are declared using a new `extension`
|
||||
declaration. Example:
|
||||
```dart
|
||||
|
|
Loading…
Reference in a new issue