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

Unified Diff: test/checker/inferred_type_test.dart

Issue 1051523002: Update mock sdk to fix test (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
« no previous file with comments | « lib/src/checker/dart_sdk.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/checker/inferred_type_test.dart
diff --git a/test/checker/inferred_type_test.dart b/test/checker/inferred_type_test.dart
index 8d8210452299e143ee40cb551507540b38df9cfb..28d933635f1f252bec9d962023307f6b6de809d0 100644
--- a/test/checker/inferred_type_test.dart
+++ b/test/checker/inferred_type_test.dart
@@ -623,8 +623,8 @@ void main() {
// We're not properly inferring that map.keys is an Iterable<String>
// and that x is a String.
- for (var x in /*info:DynamicCast should be pass*/map.keys) {
- String y = /*info:DynamicCast should be pass*/x;
+ for (var x in map.keys) {
+ String y = x;
}
}
'''
« no previous file with comments | « lib/src/checker/dart_sdk.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698