Skip to content

Commit 7234e6f

Browse files
srawlinsCommit Queue
authored andcommitted
Add analyzer entries for Dart 3.7
Change-Id: I8f48ce1be0d880a390b78b493c8713fe25bc5e1c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/403640 Reviewed-by: Brian Wilkerson <[email protected]> Reviewed-by: Phil Quitslund <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
1 parent e4e42f7 commit 7234e6f

File tree

1 file changed

+36
-4
lines changed

1 file changed

+36
-4
lines changed

CHANGELOG.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,43 @@ main() {
5959
and with a `Flexible` widget.
6060
- Offer an assist to "inline" an else-block's inner if-statement with the
6161
else-block to read `else if`.
62+
- Add an additional fix to import an unknown prefixed identifier by updating
63+
the `show` combinator on an existing import.
64+
- Add a fix to import an unknown prefixed identifier by adding an
65+
import directive with the given prefix.
66+
- Add a fix to import an unknown prefixed identifier by removing a `hide`
67+
combinator.
68+
- Add a fix to import an unknown identifier by adding an import directive with a
69+
`show` combinator, and optionally a prefix.
70+
- Code completion now suggests instance variables when completing inside the
71+
initializer of a _late_ field.
72+
- Assists and quick fixes that add a const keyword now consider the
73+
`prefer_const_declarations` lint rule, prefering to add `const` to a variable
74+
declaration rather than the initial value.
75+
- Add a fix to add a missing `on` keyword in an extension declaration.
76+
- Add a fix to wrap an ambiguous property access or method call in an extension
77+
override.
6278
(Thanks [@FMorschel](https://github.com/FMorschel) for the above enhancements!
63-
- Add the experimental `specify_nonobvious_property_types` lint rule.
64-
- Add the experimental `omit_obvious_property_types` lint rule.
65-
- Remove the `package_api_docs` lint rule.
66-
- Remove the `unsafe_html` lint rule.
79+
- The 'sort members' command now considers the `sort_constructors_first` lint
80+
rule.
81+
- The 'extract method' refactoring now uses generic method syntax for
82+
function-typed parameters.
83+
- Add quick fixes for more than 30 diagnostics.
84+
- Add the [`strict_top_level_inference`] lint rule.
85+
- Add the [`unnecessary_underscores`][] lint rule.
86+
- Add the experimental [`specify_nonobvious_property_types`][] lint rule.
87+
- Add the experimental [`omit_obvious_property_types`][] lint rule.
88+
- Add the experimental [`unsafe_variance`][] lint rule.
89+
- Remove the [`package_api_docs`][] lint rule.
90+
- Remove the [`unsafe_html`][] lint rule.
91+
92+
[`strict_top_level_inference`]: https://dart.dev/tools/linter-rules/strict_top_level_inference
93+
[`unnecessary_underscores`]: https://dart.dev/lints/unnecessary_underscores
94+
[`specify_nonobvious_property_types`]: https://dart.dev/tools/linter-rules/specify_nonobvious_property_types
95+
[`omit_obvious_property_types`]: https://dart.dev/tools/linter-rules/omit_obvious_property_types
96+
[`unsafe_variance`]: https://dart.dev/tools/linter-rules/unsafe_variance
97+
[`package_api_docs`]: https://dart.dev/tools/linter-rules/package_api_docs
98+
[`unsafe_html`]: https://dart.dev/tools/linter-rules/unsafe_html
6799

68100
#### Dart format
69101

0 commit comments

Comments
 (0)