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

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

Issue 1038583004: Rationalize coercions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase 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/convert/line_splitter.dart ('k') | test/dart_codegen/expect/convert/utf.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/convert/string_conversion.dart
diff --git a/test/dart_codegen/expect/convert/string_conversion.dart b/test/dart_codegen/expect/convert/string_conversion.dart
index 7fce8fa0221f8654bffd3a4579270216143e94a6..c03190ba01d59d4cfee3d68ce38d2a26056eb4ee 100644
--- a/test/dart_codegen/expect/convert/string_conversion.dart
+++ b/test/dart_codegen/expect/convert/string_conversion.dart
@@ -46,14 +46,14 @@ if (_buffer.isNotEmpty) _flush();
Iterator iterator = objects.iterator;
if (!iterator.moveNext()) return; if (separator.isEmpty) {
do {
-_chunkedSink.add(((__x28) => DEVC$RT.cast(__x28, dynamic, String, "CastGeneral", """line 147, column 26 of dart:convert/string_conversion.dart: """, __x28 is String, true))(iterator.current.toString()));
+_chunkedSink.add(((__x28) => DEVC$RT.cast(__x28, dynamic, String, "DynamicCast", """line 147, column 26 of dart:convert/string_conversion.dart: """, __x28 is String, true))(iterator.current.toString()));
}
while (iterator.moveNext());}
else {
-_chunkedSink.add(((__x29) => DEVC$RT.cast(__x29, dynamic, String, "CastGeneral", """line 150, column 24 of dart:convert/string_conversion.dart: """, __x29 is String, true))(iterator.current.toString()));
+_chunkedSink.add(((__x29) => DEVC$RT.cast(__x29, dynamic, String, "DynamicCast", """line 150, column 24 of dart:convert/string_conversion.dart: """, __x29 is String, true))(iterator.current.toString()));
while (iterator.moveNext()) {
write(separator);
- _chunkedSink.add(((__x30) => DEVC$RT.cast(__x30, dynamic, String, "CastGeneral", """line 153, column 26 of dart:convert/string_conversion.dart: """, __x30 is String, true))(iterator.current.toString()));
+ _chunkedSink.add(((__x30) => DEVC$RT.cast(__x30, dynamic, String, "DynamicCast", """line 153, column 26 of dart:convert/string_conversion.dart: """, __x30 is String, true))(iterator.current.toString()));
}
}
}
@@ -100,7 +100,7 @@ return new ClosableStringSink.fromStringSink(_stringSink, this.close);
class _StringCallbackSink extends _StringSinkConversionSink {final _ChunkedConversionCallback<String> _callback;
_StringCallbackSink(this._callback) : super(new StringBuffer());
void close() {
-StringBuffer buffer = DEVC$RT.cast(_stringSink, StringSink, StringBuffer, "CastGeneral", """line 233, column 27 of dart:convert/string_conversion.dart: """, _stringSink is StringBuffer, true);
+StringBuffer buffer = DEVC$RT.cast(_stringSink, StringSink, StringBuffer, "AssignmentCast", """line 233, column 27 of dart:convert/string_conversion.dart: """, _stringSink is StringBuffer, true);
String accumulated = buffer.toString();
buffer.clear();
_callback(accumulated);
« no previous file with comments | « test/dart_codegen/expect/convert/line_splitter.dart ('k') | test/dart_codegen/expect/convert/utf.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698