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

Unified Diff: test/dart_codegen/expect/convert/utf.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/utf.dart
diff --git a/test/dart_codegen/expect/convert/utf.dart b/test/dart_codegen/expect/convert/utf.dart
index cf6f7e13761956dd95ecf7021ebae464ff470af4..6a85a9474d8b803b1825c03445fdf6688da2a3a5 100644
--- a/test/dart_codegen/expect/convert/utf.dart
+++ b/test/dart_codegen/expect/convert/utf.dart
@@ -41,11 +41,11 @@ if (sink is! ByteConversionSink) {
}
), ByteConversionSink, "ImplicitCast", """line 125, column 33 of dart:convert/utf.dart: """, sink is ByteConversionSink, true));
}
- Stream<List<int>> bind(Stream<String> stream) => ((__x25) => DEVC$RT.cast(__x25, DEVC$RT.type((DDC$async$.Stream<dynamic> _) {
+ Stream<List<int>> bind(Stream<String> stream) => ((__x18) => DEVC$RT.cast(__x18, DEVC$RT.type((DDC$async$.Stream<dynamic> _) {
}
), DEVC$RT.type((DDC$async$.Stream<List<int>> _) {
}
-), "CompositeCast", """line 129, column 52 of dart:convert/utf.dart: """, __x25 is DDC$async$.Stream<List<int>>, false))(super.bind(stream));
+), "CompositeCast", """line 129, column 52 of dart:convert/utf.dart: """, __x18 is DDC$async$.Stream<List<int>>, false))(super.bind(stream));
}
class _Utf8Encoder {int _carry = 0;
int _bufferIndex = 0;
@@ -170,11 +170,11 @@ stringSink = new StringConversionSink.from(sink);
}
return stringSink.asUtf8Sink(_allowMalformed);
}
- Stream<String> bind(Stream<List<int>> stream) => ((__x26) => DEVC$RT.cast(__x26, DEVC$RT.type((DDC$async$.Stream<dynamic> _) {
+ Stream<String> bind(Stream<List<int>> stream) => ((__x19) => DEVC$RT.cast(__x19, DEVC$RT.type((DDC$async$.Stream<dynamic> _) {
}
), DEVC$RT.type((DDC$async$.Stream<String> _) {
}
-), "CompositeCast", """line 361, column 52 of dart:convert/utf.dart: """, __x26 is DDC$async$.Stream<String>, false))(super.bind(stream));
+), "CompositeCast", """line 361, column 52 of dart:convert/utf.dart: """, __x19 is DDC$async$.Stream<String>, false))(super.bind(stream));
external Converter<List<int>, dynamic> fuse(Converter<String, dynamic> next);
}
const int _ONE_BYTE_LIMIT = 0x7f;

Powered by Google App Engine
This is Rietveld 408576698