diff --git a/CHANGELOG.md b/CHANGELOG.md index b64f26cb787..ec9eb4c5586 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -86,7 +86,7 @@ constraint][language version] lower bound to 3.2 or greater (`sdk: '^3.2.0'`). ```dart class Example { final int? _privateField; - Example1(this._privateField); + Example(this._privateField); f() { if (_privateField != null) { @@ -98,7 +98,7 @@ constraint][language version] lower bound to 3.2 or greater (`sdk: '^3.2.0'`). } // Private field promotions also work from outside of the class: - f(Example1 x) { + f(Example x) { if (x._privateField != null) { int i = x._privateField; // OK }