Index: pkg/analyzer/lib/src/summary/resynthesize.dart |
diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart |
index 35be255fa59e5fa9d693c23db73455c66d16837c..15fe567f16fb775b682a216e8fd0bdb1151a2121 100644 |
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart |
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart |
@@ -1038,8 +1038,11 @@ class _LibraryResynthesizer { |
_UnitResynthesizer partResynthesizer = |
createUnitResynthesizer(unitNum, unitSource, partDecl); |
CompilationUnitElementImpl partUnit = partResynthesizer.unit; |
+ partUnit.uriOffset = partDecl.uriOffset; |
+ partUnit.uriEnd = partDecl.uriEnd; |
partUnit.source = unitSource; |
partUnit.librarySource = librarySource; |
+ partUnit.uri = uri; |
return partResynthesizer; |
} |