File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
pkg/analyzer/lib/src/summary2 Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -579,15 +579,11 @@ class LibraryBuilder with MacroApplicationsContainer {
579
579
var importedAugmentation = importState.importedAugmentation! ;
580
580
var importedFile = importedAugmentation.file;
581
581
582
- var unitNode = performance.run (
583
- 'importedFile.parse()' ,
584
- (performance) {
585
- performance.getDataInt ('length' ).add (importedFile.content.length);
586
- return importedFile.parse (
587
- performance: performance,
588
- );
589
- },
582
+ var importedFileParsed = importedFile.getParsed (
583
+ performance: performance,
590
584
);
585
+ var unitNode = importedFileParsed.unit;
586
+
591
587
var unitElement = CompilationUnitElementImpl (
592
588
source: importedFile.source,
593
589
librarySource: importedFile.source,
You can’t perform that action at this time.
0 commit comments