| Index: CHANGELOG.md
|
| diff --git a/CHANGELOG.md b/CHANGELOG.md
|
| index 9054ac85ef6071867fdfe10b0a83323a130d7f45..bf984aba0ce71eb7d92ac7e0d198c70d97c489f1 100644
|
| --- a/CHANGELOG.md
|
| +++ b/CHANGELOG.md
|
| @@ -73,6 +73,23 @@
|
| }
|
| ```
|
|
|
| +* New feature - use `@virtual` to allow field overrides in strong mode
|
| + (SDK issue [27384](https://github.com/dart-lang/sdk/issues/27384)).
|
| +
|
| + ```dart
|
| + import 'package:meta/meta.dart' show virtual;
|
| + class Base {
|
| + @virtual int x;
|
| + }
|
| + class Derived extends Base {
|
| + int x;
|
| +
|
| + // Expose the hidden storage slot:
|
| + int get superX => super.x;
|
| + set superX(int v) { super.x = v; }
|
| + }
|
| + ```
|
| +
|
| * Breaking change - infer list and map literals from the context type as well as
|
| their values, consistent with generic methods and instance creation
|
| (SDK issue [27151](https://github.com/dart-lang/sdk/issues/27151)).
|
|
|