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

Unified Diff: lib/build/html_import_annotation_recorder.dart

Issue 993423004: Fix normalization of relative paths inside of deep relative imports (Closed) Base URL: git@github.com:dart-lang/web-components.git@master
Patch Set: format Created 5 years, 9 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 | « CHANGELOG.md ('k') | lib/build/import_crawler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/build/html_import_annotation_recorder.dart
diff --git a/lib/build/html_import_annotation_recorder.dart b/lib/build/html_import_annotation_recorder.dart
index e517e33531194daeacba1093305c8da6b828d009..c320862bae5138421d926082ffbfcc04d15f6e33 100644
--- a/lib/build/html_import_annotation_recorder.dart
+++ b/lib/build/html_import_annotation_recorder.dart
@@ -61,8 +61,9 @@ class HtmlImportAnnotationRecorder implements InitializerPlugin {
var originalImportPath;
if (annotationElement.element is PropertyAccessorElement) {
- originalImportPath = resolver.evaluateConstant(element.library,
- annotation.name).value.fields['filePath'].stringValue;
+ originalImportPath = resolver.evaluateConstant(
+ element.library, annotation.name).value.fields[
+ 'filePath'].stringValue;
} else {
assert(annotationElement.element is ConstructorElement);
originalImportPath = resolver.evaluateConstant(element.library,
« no previous file with comments | « CHANGELOG.md ('k') | lib/build/import_crawler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698