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

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

Issue 1112403004: SDK fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Formatting fix Created 5 years, 8 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 7a42feb5d3ec0086d7f42d0d798cc860ae2d5a91..30db28f879720bd28929f536c04774484816c703 100644
--- a/test/dart_codegen/expect/convert/utf.dart
+++ b/test/dart_codegen/expect/convert/utf.dart
@@ -41,11 +41,7 @@ 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) => ((__x15) => DEVC$RT.cast(__x15, 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: """, __x15 is DDC$async$.Stream<List<int>>, false))(super.bind(stream));
+ Stream<List<int>> bind(Stream<String> stream) => super.bind(stream);
}
class _Utf8Encoder {int _carry = 0;
int _bufferIndex = 0;
@@ -170,11 +166,7 @@ stringSink = new StringConversionSink.from(sink);
}
return stringSink.asUtf8Sink(_allowMalformed);
}
- Stream<String> bind(Stream<List<int>> stream) => ((__x16) => DEVC$RT.cast(__x16, DEVC$RT.type((DDC$async$.Stream<dynamic> _) {
-}
-), DEVC$RT.type((DDC$async$.Stream<String> _) {
-}
-), "CompositeCast", """line 361, column 52 of dart:convert/utf.dart: """, __x16 is DDC$async$.Stream<String>, false))(super.bind(stream));
+ Stream<String> bind(Stream<List<int>> stream) => 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