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

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

Issue 959003003: Typecheck constructor initializers properly (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase Created 5 years, 10 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 | « test/dart_codegen/expect/convert/string_conversion.dart ('k') | test/dart_codegen/expect/core/errors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cdff9d743a9dd53b0905b83398d8cd5074295eef..df26be54a035922366911061bdd00deb20612efe 100644
--- a/test/dart_codegen/expect/convert/utf.dart
+++ b/test/dart_codegen/expect/convert/utf.dart
@@ -37,13 +37,15 @@ int stringLength = string.length;
if (sink is! ByteConversionSink) {
sink = new ByteConversionSink.from(sink);
}
- return new _Utf8EncoderSink(sink);
+ return new _Utf8EncoderSink(DDC$RT.cast(sink, DDC$RT.type((Sink<List<int>> _) {
+ }
+), ByteConversionSink, "CastGeneral", """line 125, column 33 of dart:convert/utf.dart: """, sink is ByteConversionSink, true));
}
- Stream<List<int>> bind(Stream<String> stream) => ((__x30) => DDC$RT.cast(__x30, DDC$RT.type((DDC$async$.Stream<dynamic> _) {
+ Stream<List<int>> bind(Stream<String> stream) => ((__x33) => DDC$RT.cast(__x33, DDC$RT.type((DDC$async$.Stream<dynamic> _) {
}
), DDC$RT.type((DDC$async$.Stream<List<int>> _) {
}
-), "CastDynamic", """line 129, column 52 of dart:convert/utf.dart: """, __x30 is DDC$async$.Stream<List<int>>, false))(super.bind(stream));
+), "CastDynamic", """line 129, column 52 of dart:convert/utf.dart: """, __x33 is DDC$async$.Stream<List<int>>, false))(super.bind(stream));
}
class _Utf8Encoder {int _carry = 0;
int _bufferIndex = 0;
@@ -168,11 +170,11 @@ stringSink = new StringConversionSink.from(sink);
}
return stringSink.asUtf8Sink(_allowMalformed);
}
- Stream<String> bind(Stream<List<int>> stream) => ((__x31) => DDC$RT.cast(__x31, DDC$RT.type((DDC$async$.Stream<dynamic> _) {
+ Stream<String> bind(Stream<List<int>> stream) => ((__x34) => DDC$RT.cast(__x34, DDC$RT.type((DDC$async$.Stream<dynamic> _) {
}
), DDC$RT.type((DDC$async$.Stream<String> _) {
}
-), "CastDynamic", """line 361, column 52 of dart:convert/utf.dart: """, __x31 is DDC$async$.Stream<String>, false))(super.bind(stream));
+), "CastDynamic", """line 361, column 52 of dart:convert/utf.dart: """, __x34 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/errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698