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

Unified Diff: pkg/analyzer/test/generated/resolver_test.dart

Issue 1382403002: Clean up hints (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/generated/resolver_test.dart
diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart
index 307c41c2985309425db08df50771fbd23162c410..3fd5c07eb6a0ab82221c5a965eb3dc04d7fa9ad8 100644
--- a/pkg/analyzer/test/generated/resolver_test.dart
+++ b/pkg/analyzer/test/generated/resolver_test.dart
@@ -12055,10 +12055,6 @@ main() {
SimpleIdentifier identifier = _findIdentifier('foo');
VariableDeclaration declaration =
identifier.getAncestor((node) => node is VariableDeclaration);
- InterfaceType stringType = typeProvider.stringType;
- InterfaceType futureType = typeProvider.futureType;
- InterfaceType futureOfStringType =
- futureType.substitute4(<DartType>[stringType]);
expect(declaration.initializer.staticType.toString(), "Future<String>");
expect(declaration.initializer.propagatedType, isNull);
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | pkg/analyzer/test/source/analysis_options_provider_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698