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

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: changelog 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
« README.md ('K') | « 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..d43f7210e1a4fb027884b5a26481018e8e8953ca 100644
--- a/lib/info.dart
+++ b/lib/info.dart
@@ -150,7 +150,7 @@ class AllInfo {
AllInfo();
- static AllInfo parseFromJson(Map map) => new _ParseHelper().parseAll(map);
+ factory AllInfo.fromJson(Map json) => new _ParseHelper().parseAll(json);
Siggi Cherem (dart-lang) 2015/10/14 23:37:02 since this is a breaking change, we might need to
Harry Terkelsen 2015/10/15 00:13:55 I added a TODO for this. Let's go with 0.2.0-dev a
Map _listAsJsonMap(List<Info> list) {
var map = <String, Map>{};
« README.md ('K') | « bin/verify_deps.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698