|
99 | 99 | * Removed the `--use-fasta-parser`, `--preview-dart-2`, and
|
100 | 100 | `--enable-assert-initializers` command line options. These options haven't
|
101 | 101 | been supported in a while and were no-ops.
|
| 102 | +* Report diagnostics regarding the |
| 103 | + [`@internal`](https://pub.dev/documentation/meta/latest/meta/internal-constant.html) |
| 104 | + annotation. |
| 105 | +* Improve diagnostic-reporting regarding the |
| 106 | + [`@doNotStore`](https://pub.dev/documentation/meta/latest/meta/doNotStore-constant.html) |
| 107 | + annotation. |
| 108 | +* Introduce a diagnostic which is reported when a library member named `main` |
| 109 | + is not a function. |
| 110 | +* Introduce a diagnostic which is reported when a `main` function's first |
| 111 | + parameter is not a supertype of `List<String>`. |
| 112 | +* Introduce a diagnostic which is reported when an `// ignore` comment contains |
| 113 | + an error code which is not being reported. |
| 114 | +* Introduce a diagnostic which is reported when an `// ignore` comment contains |
| 115 | + an error code which cannot be ignored. |
| 116 | +* Introduce a diagnostic which is reported when an `// ignore` comment contains |
| 117 | + an error code which is already being ignored. |
| 118 | +* Report diagnostics when using |
| 119 | + [`@visibleForTesting`](https://pub.dev/documentation/meta/latest/meta/visibleForTesting-constant.html) |
| 120 | + on top-level variables. |
| 121 | +* Fix false positive reports of "unused element" for top-level setters and |
| 122 | + getters. |
| 123 | +* Fix false positive reports regarding `@deprecated` field formal parameters at |
| 124 | + their declaration. |
| 125 | +* For null safety, introduce a diagnostic which reports when a null-check will |
| 126 | + always fail. |
| 127 | +* Fix false positive reports regarding optional parameters on privat |
| 128 | + constructors being unused. |
| 129 | +* Introduce a diagnostic which is reported when a constructor includes |
| 130 | + duplicate field formal parameters. |
| 131 | +* Improve the "unused import" diagnostic when multiple import directives share |
| 132 | + a common prefix. |
| 133 | +* Fix false positive "unused import" diagnostic regarding an import which |
| 134 | + provides an extension method which is used. |
| 135 | +* For null safety, improve the messaging of "use of nullable value" diagnostics |
| 136 | + for eight different contexts. |
| 137 | +* Fix false positive reports regarding `@visibleForTesting` members in a "hide" |
| 138 | + combinator of an import or export directive. |
| 139 | +* Improve the messaging of "invalid override" diagnostics. |
| 140 | +* Introduce a diagnostic which is reported when `Future<T>.catchError` is |
| 141 | + called with an `onError` callback which does not return `FutureOr<T>`. |
102 | 142 |
|
103 | 143 | #### dartfmt
|
104 | 144 |
|
|
0 commit comments