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

Commit ec77d9a

Browse files
author
Dart CI
committed
Version 2.10.0-78.0.dev
Merge commit '88b77feb73a8269ab6f6fb2b8ae7102e0292af88' into 'dev'
2 parents 84c3eac + 88b77fe commit ec77d9a

12 files changed

+870
-805
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@
4242

4343
### Tools
4444

45+
#### dartfmt
46+
47+
* Don't crash when non-ASCII whitespace is trimmed.
48+
* Split all conditional expressions (`?:`) when they are nested.
49+
* Handle `external` and `abstract` fields and variables.
50+
4551
#### Linter
4652

4753
Updated the Linter to `0.1.118`, which includes:

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ vars = {
9494
# and land the review.
9595
#
9696
# For more details, see https://github.com/dart-lang/sdk/issues/30164
97-
"dart_style_tag": "1.3.6", # Please see the note above before updating.
97+
"dart_style_tag": "1.3.7", # Please see the note above before updating.
9898

9999
"chromedriver_tag": "83.0.4103.39",
100100
"dartdoc_rev" : "291ebc50072746bc59ccab59115a298915218428",

pkg/analyzer/lib/src/generated/element_resolver.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,6 +1409,7 @@ class ElementResolver extends SimpleAstVisitor<void> {
14091409
var getter = typeReference.getGetter(propertyName.name);
14101410
if (getter != null) {
14111411
propertyName.staticElement = getter;
1412+
_resolver.setWriteElement(node, getter);
14121413
// The error will be reported in ErrorVerifier.
14131414
} else {
14141415
_errorReporter.reportErrorForNode(
@@ -1570,6 +1571,7 @@ class ElementResolver extends SimpleAstVisitor<void> {
15701571
} else {
15711572
var getter = result.getter;
15721573
propertyName.staticElement = getter;
1574+
_resolver.setWriteElement(node, getter);
15731575
// A more specific error will be reported in ErrorVerifier.
15741576
}
15751577
} else if (result.isNone) {

0 commit comments

Comments
 (0)