Update analyzer CHANGELOG entry with annotations
Change-Id: I948e2d7a61c76a9c457d4d12314368a1360623f9
Reviewed-on: https://dart-review.googlesource.com/c/88360
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2508595..4c6ea38 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,14 +1,3 @@
-##
-
-### Tool Changes
-
-#### Analyzer
-
-* Support for `declarations-casts` has been removed and the `implicit-casts`
- option now has the combined semantics of both options. This means that users
- that disable `implicit-casts` might now see errors that were not previously
- being reported.
-
## 2.2.0-dev.XX.0
(Add new changes here, and they will be copied to the change section for the
next dev version)
@@ -21,6 +10,23 @@
### Tool Changes
+#### Analyzer
+
+* Support for `declarations-casts` has been removed and the `implicit-casts`
+ option now has the combined semantics of both options. This means that
+ users that disable `implicit-casts` might now see errors that were not
+ previously being reported.
+
+* New hints added:
+
+ * `INVALID_LITERAL_ANNOTATION` when something other than a const
+ constructor is annotated with `@literal`.
+ * `SUBTYPE_OF_SEALED_CLASS` when any class or mixin subclasses (extends,
+ implements, mixes in, or constrains to) a `@sealed` class, and the two
+ are declared in different packages.
+ * `MIXIN_ON_SEALED_CLASS` when a `@sealed` class is used as a superclass
+ constraint of a mixin.
+
#### dart2js
* We fixed a bug in how deferred constructor calls were incorrectly not