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

Unified Diff: pkg/analyzer/test/src/dart/analysis/driver_test.dart

Issue 2678193002: Not task based analysis. (Closed)
Patch Set: Created 3 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
Index: pkg/analyzer/test/src/dart/analysis/driver_test.dart
diff --git a/pkg/analyzer/test/src/dart/analysis/driver_test.dart b/pkg/analyzer/test/src/dart/analysis/driver_test.dart
index 833f61d15a6c46ee0b74b6ccf3e793e8477fa0d9..7d435d591235e66d7939fbc183f7f6c985ff67f4 100644
--- a/pkg/analyzer/test/src/dart/analysis/driver_test.dart
+++ b/pkg/analyzer/test/src/dart/analysis/driver_test.dart
@@ -2055,8 +2055,9 @@ var A = B;
}
String _getTopLevelVarType(CompilationUnit unit, String name) {
+ VariableDeclaration variable = _getTopLevelVar(unit, name);
return resolutionMap
- .elementDeclaredByVariableDeclaration(_getTopLevelVar(unit, name))
+ .elementDeclaredByVariableDeclaration(variable)
.type
.toString();
}

Powered by Google App Engine
This is Rietveld 408576698