| Index: CHANGELOG.md
|
| diff --git a/CHANGELOG.md b/CHANGELOG.md
|
| index d76e779f1b809094f00be9e1b7e26670b1665581..315e870b91fcaed1266970435a7cec2dfbf4b7fc 100644
|
| --- a/CHANGELOG.md
|
| +++ b/CHANGELOG.md
|
| @@ -17,6 +17,24 @@
|
| * Added `WebSocket.addUtf8Text` to allow sending a pre-encoded text message
|
| without a round-trip UTF-8 conversion.
|
|
|
| +## Strong Mode
|
| +
|
| +* Breaking change - it is an error if a generic type parameter cannot be
|
| + inferred (SDK issue [26992](https://github.com/dart-lang/sdk/issues/26992)).
|
| +
|
| + ```dart
|
| + class Cup<T> {
|
| + Cup(T t);
|
| + }
|
| + main() {
|
| + // Error because:
|
| + // - if we choose Cup<num> it is not assignable to `cOfInt`,
|
| + // - if we choose Cup<int> then `n` is not assignable to int.
|
| + num n;
|
| + C<int> cOfInt = new C(n);
|
| + }
|
| + ```
|
| +
|
| ## 1.19.0
|
|
|
| ### Language changes
|
|
|