Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

migrate to analyzer 2.8.0 #3077

Merged
merged 2 commits into from
Nov 29, 2021
Merged

migrate to analyzer 2.8.0 #3077

merged 2 commits into from
Nov 29, 2021

Conversation

pq
Copy link
Contributor

@pq pq commented Nov 29, 2021

@google-cla google-cla bot added the cla: yes label Nov 29, 2021
rule.reportLint(identifier);
var expression = node.expression;
if (expression.isSynthetic) return;
if (expression is Identifier && expression.staticElement == null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 thanks for the pre-fix!

@coveralls
Copy link

coveralls commented Nov 29, 2021

Coverage Status

Coverage increased (+0.0008%) to 94.141% when pulling 2bc8436 on analyzer_2.8 into bb29c70 on master.

@pq pq merged commit 0a795e3 into master Nov 29, 2021
@pq pq deleted the analyzer_2.8 branch November 29, 2021 22:20
// Update to `SUPER_INVOCATION_NOT_LAST` when analyzer 2.8.0+ is published
// https://github.com/dart-lang/linter/issues/3069
// error(CompileTimeErrorCode.INVALID_SUPER_INVOCATION, 84, 5),
error(CompileTimeErrorCode.SUPER_INVOCATION_NOT_LAST, 84, 5),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this suppose to replace line 36? If both are currently being supported, should we stop reporting the lint when the error is being reported?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the real answer is we remove the lint. It's been deprecated for a while...

See also: https://github.com/dart-lang/linter/issues/1368#issuecomment-455253837

copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Aug 23, 2023
* migrate to analyzer 2.8.0

* fix test expectations
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

update super_goes_last test w/ new error code
5 participants