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

Unified Diff: test/dart_codegen/expect/convert/ascii.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
Index: test/dart_codegen/expect/convert/ascii.dart
diff --git a/test/dart_codegen/expect/convert/ascii.dart b/test/dart_codegen/expect/convert/ascii.dart
index 3ee6d3843ce0065096f3f23a6c50d33cef63de66..677b2949624f7c9a21f548a9eb688ed3eac937be 100644
--- a/test/dart_codegen/expect/convert/ascii.dart
+++ b/test/dart_codegen/expect/convert/ascii.dart
@@ -45,7 +45,9 @@ int stringLength = string.length;
if (sink is! ByteConversionSink) {
sink = new ByteConversionSink.from(sink);
}
- return new _UnicodeSubsetEncoderSink(_subsetMask, sink);
+ return new _UnicodeSubsetEncoderSink(_subsetMask, DDC$RT.cast(sink, DDC$RT.type((Sink<List<int>> _) {
+ }
+), ByteConversionSink, "CastGeneral", """line 109, column 55 of dart:convert/ascii.dart: """, sink is ByteConversionSink, true));
}
Stream<List<int>> bind(Stream<String> stream) => ((__x0) => DDC$RT.cast(__x0, DDC$RT.type((DDC$async$.Stream<dynamic> _) {
}
« no previous file with comments | « test/dart_codegen/expect/collection/splay_tree.dart ('k') | test/dart_codegen/expect/convert/byte_conversion.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698