Skip to content

Commit e03f383

Browse files
committed
Prefer DocumentationNode.unifiedSymbol over DocumentationNode.symbol
1 parent 80fb728 commit e03f383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDocC/Infrastructure/DocumentationContext.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ public class DocumentationContext: DocumentationContextDataProviderDelegate {
858858
var updatedNode = documentationCache[reference]!
859859

860860
// Pull a matched article out of the cache and attach content to the symbol
861-
let symbol = updatedNode.symbol
861+
let symbol = updatedNode.unifiedSymbol?.documentedSymbol
862862
let foundDocumentationExtension = matches?.first
863863

864864
updatedNode.initializeSymbolContent(

0 commit comments

Comments
 (0)