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

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

Issue 2647363005: Fix type error in analyzer test (Closed)
Patch Set: Created 3 years, 11 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/analyzer/test/src/dart/analysis/file_state_test.dart
diff --git a/pkg/analyzer/test/src/dart/analysis/file_state_test.dart b/pkg/analyzer/test/src/dart/analysis/file_state_test.dart
index f492fd6a21cca9c3c6afd0acbfe327eac0e36a19..752ee70e34c9c9e04ac09dd9ab68d30a5ccbc0b3 100644
--- a/pkg/analyzer/test/src/dart/analysis/file_state_test.dart
+++ b/pkg/analyzer/test/src/dart/analysis/file_state_test.dart
@@ -689,7 +689,7 @@ set _V3(_) {}
}
List<T> _excludeSdk<T>(Iterable<T> files) {
- return files.where((T file) {
+ return files.where((Object file) {
Leaf 2017/01/25 19:03:00 Is this non-strong mode analysis? This should wor
scheglov 2017/01/25 19:06:02 FWIW, resolution works, so "file.uri" is resolved.
if (file is FileState) {
return file.uri.scheme != 'dart';
} else {
« 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