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

Unified Diff: test/dart_codegen/expect/convert/html_escape.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/byte_conversion.dart ('k') | test/dart_codegen/expect/convert/json.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/convert/html_escape.dart
diff --git a/test/dart_codegen/expect/convert/html_escape.dart b/test/dart_codegen/expect/convert/html_escape.dart
index 54889a403479d5f09b778b359970781b569d57c4..012b7357587e57fc2a155006a3cc336a56c6fbfd 100644
--- a/test/dart_codegen/expect/convert/html_escape.dart
+++ b/test/dart_codegen/expect/convert/html_escape.dart
@@ -51,7 +51,9 @@ StringBuffer result = null;
if (sink is! StringConversionSink) {
sink = new StringConversionSink.from(sink);
}
- return new _HtmlEscapeSink(this, sink);
+ return new _HtmlEscapeSink(this, DDC$RT.cast(sink, DDC$RT.type((Sink<String> _) {
+}
+), StringConversionSink, "CastGeneral", """line 79, column 38 of dart:convert/html_escape.dart: """, sink is StringConversionSink, true));
}
}
class _HtmlEscapeSink extends StringConversionSinkBase {final HtmlEscape _escape;
« no previous file with comments | « test/dart_codegen/expect/convert/byte_conversion.dart ('k') | test/dart_codegen/expect/convert/json.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698