Skip to content

Commit 0a11b9f

Browse files
authored
Fix GetRootSymbols missing return (microsoft#923)
1 parent ee1a943 commit 0a11b9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/checker/services.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ func (c *Checker) GetRootSymbols(symbol *ast.Symbol) []*ast.Symbol {
341341
for _, root := range roots {
342342
result = append(result, c.GetRootSymbols(root)...)
343343
}
344+
return result
344345
}
345346
return []*ast.Symbol{symbol}
346347
}

0 commit comments

Comments
 (0)