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

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

Issue 1038583004: Rationalize coercions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase 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 fdd9a9079f4f9500b0f43325a123fa46bad79b91..69d0cb91e97d0ac328532c23d9051fab10eadbca 100644
--- a/test/dart_codegen/expect/convert/utf.dart
+++ b/test/dart_codegen/expect/convert/utf.dart
@@ -39,13 +39,13 @@ if (sink is! ByteConversionSink) {
}
return new _Utf8EncoderSink(DEVC$RT.cast(sink, DEVC$RT.type((Sink<List<int>> _) {
}
-), ByteConversionSink, "CastGeneral", """line 125, column 33 of dart:convert/utf.dart: """, sink is ByteConversionSink, true));
+), ByteConversionSink, "ImplicitCast", """line 125, column 33 of dart:convert/utf.dart: """, sink is ByteConversionSink, true));
}
Stream<List<int>> bind(Stream<String> stream) => ((__x31) => DEVC$RT.cast(__x31, DEVC$RT.type((DDC$async$.Stream<dynamic> _) {
}
), DEVC$RT.type((DDC$async$.Stream<List<int>> _) {
}
-), "CastDynamic", """line 129, column 52 of dart:convert/utf.dart: """, __x31 is DDC$async$.Stream<List<int>>, false))(super.bind(stream));
+), "CompositeCast", """line 129, column 52 of dart:convert/utf.dart: """, __x31 is DDC$async$.Stream<List<int>>, false))(super.bind(stream));
}
class _Utf8Encoder {int _carry = 0;
int _bufferIndex = 0;
@@ -174,7 +174,7 @@ stringSink = new StringConversionSink.from(sink);
}
), DEVC$RT.type((DDC$async$.Stream<String> _) {
}
-), "CastDynamic", """line 361, column 52 of dart:convert/utf.dart: """, __x32 is DDC$async$.Stream<String>, false))(super.bind(stream));
+), "CompositeCast", """line 361, column 52 of dart:convert/utf.dart: """, __x32 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;
« no previous file with comments | « test/dart_codegen/expect/convert/string_conversion.dart ('k') | test/dart_codegen/expect/core/duration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698