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

Unified Diff: tool/input_sdk/patch/convert_patch.dart

Issue 1579223002: Fixes #408 (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 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: tool/input_sdk/patch/convert_patch.dart
diff --git a/tool/input_sdk/patch/convert_patch.dart b/tool/input_sdk/patch/convert_patch.dart
index f851bce06730c15892c8693c1332b6727b80f2f8..1aad95dbc1b1343b1cafc07082ccceacea07a904 100644
--- a/tool/input_sdk/patch/convert_patch.dart
+++ b/tool/input_sdk/patch/convert_patch.dart
@@ -33,7 +33,7 @@ _parseJson(String source, reviver(key, value)) {
var parsed;
try {
parsed = JS('=Object|JSExtendableArray|Null|bool|num|String',
- 'JSON.parse(#)',
+ 'dart.global.JSON.parse(#)',
source);
} catch (e) {
throw new FormatException(JS('String', 'String(#)', e));

Powered by Google App Engine
This is Rietveld 408576698