Skip to content

Commit ffdd3f1

Browse files
committed
fix a compile error
1 parent a0df8a5 commit ffdd3f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/SymbolGraphLinker/Resolution/SSGC.OutlineResolver.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ extension SSGC.OutlineResolver
144144
else
145145
{
146146
return nil
147-
}
147+
}
148148

149149
switch self.scopes.causalURLs.resolve(qualified: translatable)
150-
{
151-
case .module(let module):
150+
{
151+
case .module(let module):
152152
// Unidoc linker doesn’t currently support `symbol` outlines that are not
153153
// declarations, so for now we just synthesize a normal vertex outline.
154154
let text:SymbolGraph.OutlineText = .init(path: "\(module)", fragment: nil)
@@ -320,7 +320,7 @@ extension SSGC.OutlineResolver
320320

321321
self.diagnostics[source] = SSGC.OutlineDiagnostic.annealedIncorrectHash(
322322
in: codelink,
323-
to: chosen.hash)
323+
to: chosen.traits.hash)
324324
}
325325

326326
let decl:Int32 = self.tables.intern(chosen.id)

0 commit comments

Comments
 (0)