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

Unified Diff: test/dart_codegen/expect/convert/line_splitter.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/line_splitter.dart
diff --git a/test/dart_codegen/expect/convert/line_splitter.dart b/test/dart_codegen/expect/convert/line_splitter.dart
index 9865d99ca76e20a91d26621e3e9597f0631280c8..01850d87218ee4069b5c03a353b2c3360f1d0139 100644
--- a/test/dart_codegen/expect/convert/line_splitter.dart
+++ b/test/dart_codegen/expect/convert/line_splitter.dart
@@ -9,7 +9,9 @@ part of dart.convert;
if (sink is! StringConversionSink) {
sink = new StringConversionSink.from(sink);
}
- return new _LineSplitterSink(sink);
+ return new _LineSplitterSink(DDC$RT.cast(sink, DDC$RT.type((Sink<String> _) {
+ }
+ ), StringConversionSink, "CastGeneral", """line 26, column 34 of dart:convert/line_splitter.dart: """, sink is StringConversionSink, true));
}
}
class _LineSplitterSink extends StringConversionSinkBase {static const int _LF = 10;
« no previous file with comments | « test/dart_codegen/expect/convert/latin1.dart ('k') | test/dart_codegen/expect/convert/string_conversion.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698