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, |