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

Unified Diff: lib/info.dart

Issue 1406803003: add tool to verify dependency information (Closed) Base URL: git@github.com:hterkelsen/dart2js_info.git@master
Patch Set: Created 5 years, 2 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 | « bin/verify_deps.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/info.dart
diff --git a/lib/info.dart b/lib/info.dart
index d04b7966bd8e8c377856527e498eafdfd0a80054..27e1fe77a4cf40b1b6138a3116909f7b295d891a 100644
--- a/lib/info.dart
+++ b/lib/info.dart
@@ -150,7 +150,9 @@ class AllInfo {
AllInfo();
- static AllInfo parseFromJson(Map map) => new _ParseHelper().parseAll(map);
+ // TODO(het): Remove this when we have an external InfoCodec, see
+ // https://github.com/dart-lang/dart2js_info/issues/4
+ factory AllInfo.fromJson(Map json) => new _ParseHelper().parseAll(json);
Map _listAsJsonMap(List<Info> list) {
var map = <String, Map>{};
« no previous file with comments | « bin/verify_deps.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698