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

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

Issue 997143003: Fix for conditional expressions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Add test case Created 5 years, 9 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/_internal/list.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 252bb5b751814331a653fbbee243f214f2750252..f637834fb300551b6b40b60a14e0ecce052e0bcb 100644
--- a/test/dart_codegen/expect/convert/html_escape.dart
+++ b/test/dart_codegen/expect/convert/html_escape.dart
@@ -45,7 +45,7 @@ StringBuffer result = null;
result.write(ch);
}
}
- return ((__x6) => DEVC$RT.cast(__x6, dynamic, String, "CastGeneral", """line 72, column 12 of dart:convert/html_escape.dart: """, __x6 is String, true))(result != null ? result.toString() : null);
+ return result != null ? result.toString() : null;
}
StringConversionSink startChunkedConversion(Sink<String> sink) {
if (sink is! StringConversionSink) {
« no previous file with comments | « test/dart_codegen/expect/_internal/list.dart ('k') | test/dart_codegen/expect/convert/json.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698