Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 8209013

Browse files
DanTupcommit-bot@chromium.org
authored andcommitted
Fix DartDoc section in Diagnostics server for LSP
Change-Id: I8bb40a08b7b6aa53c962bc5a86eb3e68a330a87c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/102620 Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Danny Tuppeny <[email protected]>
1 parent cc2d5ad commit 8209013

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/analysis_server/lib/src/status/diagnostics.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,9 @@ class ContextsPage extends DiagnosticPageWithNav {
551551
}
552552

553553
h3('Dartdoc template info');
554-
DartdocDirectiveInfo info = (server as AnalysisServer).declarationsTracker
555-
?.getContext(driver.analysisContext)
556-
?.dartdocDirectiveInfo ??
554+
DartdocDirectiveInfo info = server.declarationsTracker
555+
?.getContext(driver.analysisContext)
556+
?.dartdocDirectiveInfo ??
557557
new DartdocDirectiveInfo();
558558
writeMap(info.templateMap);
559559
}

0 commit comments

Comments
 (0)