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

Unified Diff: pkg/polymer/lib/src/build/import_inliner.dart

Issue 79513002: Fix resolution of packages in pub-build to allow '../../packages/foo/bar' (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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/polymer/lib/src/build/common.dart ('k') | pkg/polymer/test/build/import_inliner_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/src/build/import_inliner.dart
diff --git a/pkg/polymer/lib/src/build/import_inliner.dart b/pkg/polymer/lib/src/build/import_inliner.dart
index 3b10cef3cc1c513fdcc5be469363b002bfce4c01..ed18ad05bb6ac94fe90ed66fb535c9dd61ea1232 100644
--- a/pkg/polymer/lib/src/build/import_inliner.dart
+++ b/pkg/polymer/lib/src/build/import_inliner.dart
@@ -211,7 +211,7 @@ class _UrlNormalizer extends TreeVisitor {
// Techincally we shouldn't get there
transform.logger.error("don't know how to include $id from $primaryId",
span: span);
- return null;
+ return href;
Siggi Cherem (dart-lang) 2013/11/20 22:44:19 this makes sure that we don't assign a null value
}
var builder = path.url;
« no previous file with comments | « pkg/polymer/lib/src/build/common.dart ('k') | pkg/polymer/test/build/import_inliner_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698