Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: pkg/analysis_server/lib/src/status/validator.dart

Issue 1711003002: Don't call deprecated "isPotentiallyMutated..." API from analysis server. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/status/validator.dart
diff --git a/pkg/analysis_server/lib/src/status/validator.dart b/pkg/analysis_server/lib/src/status/validator.dart
index 07f34b3c9e74b5f038d813499eb698eda157a0a9..5651b8e3ccbb2cf1981bd6175d26fb26d4ca0417 100644
--- a/pkg/analysis_server/lib/src/status/validator.dart
+++ b/pkg/analysis_server/lib/src/status/validator.dart
@@ -708,24 +708,6 @@ class ElementComparator {
(VariableElement element) =>
element.isFinal ? 'a final $kind' : 'a non-final $kind');
}
- if (expected.isPotentiallyMutatedInClosure !=
- actual.isPotentiallyMutatedInClosure) {
- _writeMismatch(
- expected,
- actual,
- (VariableElement element) => element.isPotentiallyMutatedInClosure
- ? 'a $kind that is potentially mutated in a closure'
- : 'a $kind that is not mutated in a closure');
- }
- if (expected.isPotentiallyMutatedInScope !=
- actual.isPotentiallyMutatedInScope) {
- _writeMismatch(
- expected,
- actual,
- (VariableElement element) => element.isPotentiallyMutatedInScope
- ? 'a $kind that is potentially mutated in its scope'
- : 'a $kind that is not mutated in its scope');
- }
if (expected.isStatic != actual.isStatic) {
_writeMismatch(
expected,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698