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

Unified Diff: test/dart_codegen/expect/convert/json.dart

Issue 1059763003: Inference casts to dynamic, fuzzy types handled (Closed) Base URL: git@github.com:dart-lang/dart-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
Index: test/dart_codegen/expect/convert/json.dart
diff --git a/test/dart_codegen/expect/convert/json.dart b/test/dart_codegen/expect/convert/json.dart
index 0f551c0823e6813170163f9bcca233e6fb6c859e..9196fc4d9857f56e0585d29fdedbcd2ba14c8ee2 100644
--- a/test/dart_codegen/expect/convert/json.dart
+++ b/test/dart_codegen/expect/convert/json.dart
@@ -332,14 +332,14 @@ writeString(',');
void writeMap(Map<String, Object> map) {
writeString('{');
String separator = '"';
- map.forEach(((__x21) => DEVC$RT.cast(__x21, __t18, __t15, "InferableClosure", """line 721, column 17 of dart:convert/json.dart: """, __x21 is __t15, false))((String key, value) {
+ map.forEach((String key, value) {
writeString(separator);
separator = ',"';
writeStringContent(key);
writeString('":');
writeObject(value);
}
-));
+);
writeString('}');
}
}
@@ -546,5 +546,3 @@ writeByte(indent[i]);
typedef Object __t6(Object __u7);
typedef dynamic __t8(dynamic __u9);
typedef dynamic __t11(Object __u12);
- typedef void __t15(String __u16, Object __u17);
- typedef dynamic __t18(String __u19, dynamic __u20);

Powered by Google App Engine
This is Rietveld 408576698