Skip to content

Commit 8e73296

Browse files
committed
include global vars and funcs in search indexes
1 parent 47aa7c8 commit 8e73296

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Sources/UnidocAnalysis/Volume (ext).swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ import ModuleGraphs
33
import Unidoc
44
import UnidocRecords
55

6-
@available(*, deprecated, renamed: "Volume")
7-
public typealias Records = Volume
8-
96
extension Volume
107
{
118
public
@@ -51,7 +48,8 @@ extension Volume
5148
case .decl(let master):
5249
switch master.phylum
5350
{
54-
case .actor, .class, .struct, .enum, .protocol:
51+
case .actor, .class, .struct, .enum, .protocol,
52+
.func(nil), .var(nil):
5553
types[master.culture, master.id] = .init(
5654
shoot: master.shoot,
5755
scope: master.scope.last)

0 commit comments

Comments
 (0)