We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc561d3 commit a849471Copy full SHA for a849471
Sources/UnidocLinker/Sema/Unidoc.Linker.Tables.swift
@@ -117,8 +117,19 @@ extension Unidoc.Linker.Tables
117
self.current.decls.nodes.indices,
118
self.conformances)
119
{
120
- if let d:Unidoc.Scalar = self.current.scalars.decls[d]
+ guard
121
+ let d:Unidoc.Scalar = self.current.scalars.decls[d]
122
+ else
123
124
+ continue
125
+ }
126
+
127
+ switch self.context[d.package]?.decls[d.citizen]?.decl?.language
128
+ {
129
+ case .c?, .cpp?:
130
131
132
+ case .swift?, nil:
133
types.add(conformances: conformances, of: d)
134
}
135
0 commit comments