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

Unified Diff: pkg/source_maps/lib/parser.dart

Issue 781643002: Removing unnecessary warning when parsing Json. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « pkg/source_maps/CHANGELOG.md ('k') | pkg/source_maps/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/source_maps/lib/parser.dart
diff --git a/pkg/source_maps/lib/parser.dart b/pkg/source_maps/lib/parser.dart
index d67a65e58531a42da02762b5b64377ce37c50460..369c27d0ad7a0cc8fa0f557cfa893cba17aaf290 100644
--- a/pkg/source_maps/lib/parser.dart
+++ b/pkg/source_maps/lib/parser.dart
@@ -31,10 +31,6 @@ Mapping parseJson(Map map, {Map<String, Map> otherMaps}) {
'Only version 3 is supported.');
}
- if (!map.containsKey('file')) {
Siggi Cherem (dart-lang) 2014/12/04 00:12:23 oh cool - it seems they made it optional about a y
- print('warning: missing "file" entry in source map');
- }
-
if (map.containsKey('sections')) {
if (map.containsKey('mappings') || map.containsKey('sources') ||
map.containsKey('names')) {
« no previous file with comments | « pkg/source_maps/CHANGELOG.md ('k') | pkg/source_maps/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698