Skip to content

Commit 1e289cd

Browse files
authored
Merge pull request #117 from tayloraswift/0.6.1
0.6.1
2 parents dc561d3 + 99c5364 commit 1e289cd

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

Sources/SwiftinitPages/Surfaces/Vertices/Swiftinit.Ptcl.ConformersPage.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ extension Swiftinit.Ptcl.ConformersPage:Swiftinit.VertexPage
114114
{
115115
$0 += " across \(self.groups.cultures) modules."
116116
}
117+
else
118+
{
119+
$0 += "."
120+
}
117121
}
118122
}
119123
}

Sources/UnidocLinker/Sema/Unidoc.Linker.Tables.swift

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,19 @@ extension Unidoc.Linker.Tables
117117
self.current.decls.nodes.indices,
118118
self.conformances)
119119
{
120-
if let d:Unidoc.Scalar = self.current.scalars.decls[d]
120+
guard
121+
let d:Unidoc.Scalar = self.current.scalars.decls[d]
122+
else
121123
{
124+
continue
125+
}
126+
127+
switch self.context[d.package]?.decls[d.citizen]?.decl?.language
128+
{
129+
case .c?, .cpp?:
130+
continue
131+
132+
case .swift?, nil:
122133
types.add(conformances: conformances, of: d)
123134
}
124135
}

0 commit comments

Comments
 (0)