mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 12:57:42 +00:00
Add note about new Literal codes
Bug: https://github.com/dart-lang/sdk/issues/34259 Change-Id: I0efd1c750f453b76e7e91482abc5843196c5b8ad Reviewed-on: https://dart-review.googlesource.com/c/88761 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
This commit is contained in:
parent
303b3a96a7
commit
e5c32261da
|
@ -21,6 +21,9 @@
|
|||
|
||||
* `INVALID_LITERAL_ANNOTATION` when something other than a const
|
||||
constructor is annotated with `@literal`.
|
||||
* `NON_CONST_CALL_TO_LITERAL_CONSTRUCTOR` and
|
||||
`NON_CONST_CALL_TO_LITERAL_CONSTRUCTOR_USING_NEW` when a `@literal`
|
||||
const constructor is called in a non-const context (or with `new`).
|
||||
* `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.
|
||||
|
|
Loading…
Reference in a new issue