mirror of
https://github.com/dart-lang/sdk
synced 2024-10-01 19:29:09 +00:00
linter 1.2.1
Change-Id: I4d2ccc0bcc4128d60d76ea5119594d946fec35c3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192483 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
parent
ccb8643e0c
commit
706758a142
|
@ -24,8 +24,12 @@
|
||||||
|
|
||||||
#### Linter
|
#### Linter
|
||||||
|
|
||||||
Updated the Linter to `1.1.0`, which includes:
|
Updated the Linter to `1.2.1`, which includes:
|
||||||
|
|
||||||
|
- improvements to `iterable_contains_unrelated_type` to better support `List`
|
||||||
|
content checks.
|
||||||
|
- fixes to `camel_case_types` and `prefer_mixin` to support non-function
|
||||||
|
type aliases.
|
||||||
- fixed `prefer_mixin` to properly make exceptions for `dart.collection`
|
- fixed `prefer_mixin` to properly make exceptions for `dart.collection`
|
||||||
legacy mixins.
|
legacy mixins.
|
||||||
- new lint: `use_build_context_synchronously` (experimental).
|
- new lint: `use_build_context_synchronously` (experimental).
|
||||||
|
|
2
DEPS
2
DEPS
|
@ -119,7 +119,7 @@ vars = {
|
||||||
"intl_tag": "0.17.0-nullsafety",
|
"intl_tag": "0.17.0-nullsafety",
|
||||||
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
|
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
|
||||||
"json_rpc_2_rev": "b8dfe403fd8528fd14399dee3a6527b55802dd4d",
|
"json_rpc_2_rev": "b8dfe403fd8528fd14399dee3a6527b55802dd4d",
|
||||||
"linter_tag": "1.1.0",
|
"linter_tag": "1.2.1",
|
||||||
"logging_rev": "e2f633b543ef89c54688554b15ca3d7e425b86a2",
|
"logging_rev": "e2f633b543ef89c54688554b15ca3d7e425b86a2",
|
||||||
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",
|
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",
|
||||||
"markdown_rev": "9c4beaac96d8f008078e00b027915f81b665d2de",
|
"markdown_rev": "9c4beaac96d8f008078e00b027915f81b665d2de",
|
||||||
|
|
|
@ -1886,8 +1886,8 @@ class Wrong<T> {
|
||||||
expectedEndOffset: 14 /* parsing ends at synthetic ')' */);
|
expectedEndOffset: 14 /* parsing ends at synthetic ')' */);
|
||||||
FormalParameterList list = parser.parseFormalParameterList();
|
FormalParameterList list = parser.parseFormalParameterList();
|
||||||
expectNotNullIfNoErrors(list);
|
expectNotNullIfNoErrors(list);
|
||||||
listener.errors
|
listener
|
||||||
.contains(expectedError(ParserErrorCode.EXPECTED_TOKEN, 14, 1));
|
.assertErrors([expectedError(ScannerErrorCode.EXPECTED_TOKEN, 14, 1)]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_missingConstFinalVarOrType_static() {
|
void test_missingConstFinalVarOrType_static() {
|
||||||
|
|
Loading…
Reference in a new issue