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

Unified Diff: pkg/analyzer/test/src/dart/ast/utilities_test.dart

Issue 1842363004: More strong mode fixes for analyzer (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Backout options changes Created 4 years, 9 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/ast/utilities_test.dart
diff --git a/pkg/analyzer/test/src/dart/ast/utilities_test.dart b/pkg/analyzer/test/src/dart/ast/utilities_test.dart
index 77a68ebf547102fed368f8080bdf0c136ffcb556..ce4b4994d2a1eb505363cd59cf67cd8c38e7f873 100644
--- a/pkg/analyzer/test/src/dart/ast/utilities_test.dart
+++ b/pkg/analyzer/test/src/dart/ast/utilities_test.dart
@@ -420,7 +420,7 @@ class B {}''');
}
void _assertLocate(CompilationUnit unit, int start, int end,
- Predicate<AstNode> predicate, Type expectedClass) {
+ Predicate<Object> predicate, Type expectedClass) {
NodeLocator locator = new NodeLocator(start, end);
AstNode node = locator.searchWithin(unit);
expect(node, isNotNull);
« no previous file with comments | « pkg/analyzer/test/source/package_map_resolver_test.dart ('k') | pkg/analyzer/test/src/dart/constant/value_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698