Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit a4ba658

Browse files
srawlinscommit-bot@chromium.org
authored andcommitted
Update analyzer CHANGELOG entry with annotations
Change-Id: I948e2d7a61c76a9c457d4d12314368a1360623f9 Reviewed-on: https://dart-review.googlesource.com/c/88360 Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
1 parent 8deb5aa commit a4ba658

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
##
2-
3-
### Tool Changes
4-
5-
#### Analyzer
6-
7-
* Support for `declarations-casts` has been removed and the `implicit-casts`
8-
option now has the combined semantics of both options. This means that users
9-
that disable `implicit-casts` might now see errors that were not previously
10-
being reported.
11-
121
## 2.2.0-dev.XX.0
132
(Add new changes here, and they will be copied to the change section for the
143
next dev version)
@@ -21,6 +10,23 @@
2110

2211
### Tool Changes
2312

13+
#### Analyzer
14+
15+
* Support for `declarations-casts` has been removed and the `implicit-casts`
16+
option now has the combined semantics of both options. This means that
17+
users that disable `implicit-casts` might now see errors that were not
18+
previously being reported.
19+
20+
* New hints added:
21+
22+
* `INVALID_LITERAL_ANNOTATION` when something other than a const
23+
constructor is annotated with `@literal`.
24+
* `SUBTYPE_OF_SEALED_CLASS` when any class or mixin subclasses (extends,
25+
implements, mixes in, or constrains to) a `@sealed` class, and the two
26+
are declared in different packages.
27+
* `MIXIN_ON_SEALED_CLASS` when a `@sealed` class is used as a superclass
28+
constraint of a mixin.
29+
2430
#### dart2js
2531

2632
* We fixed a bug in how deferred constructor calls were incorrectly not

0 commit comments

Comments
 (0)