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

Unified Diff: sdk/lib/_internal/js_runtime/lib/convert_patch.dart

Issue 2545153002: Handle synthetic nodes use to throw exceptions (Closed)
Patch Set: Also handle malformed type Created 4 years 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: sdk/lib/_internal/js_runtime/lib/convert_patch.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/convert_patch.dart b/sdk/lib/_internal/js_runtime/lib/convert_patch.dart
index 1b987ed42363feac303c7f03ecec37f8d73ee0eb..9cac10e030618f131657f35e1851947e78c5437b 100644
--- a/sdk/lib/_internal/js_runtime/lib/convert_patch.dart
+++ b/sdk/lib/_internal/js_runtime/lib/convert_patch.dart
@@ -382,7 +382,7 @@ class _JsonDecoderSink extends _StringSinkConversionSink {
final Sink<Object> _sink;
_JsonDecoderSink(this._reviver, this._sink)
- : super(new StringBuffer());
+ : super(new StringBuffer(''));
void close() {
super.close();

Powered by Google App Engine
This is Rietveld 408576698