Skip to content

Commit dff25dd

Browse files
Catherine Gasnierfacebook-github-bot
authored andcommitted
add swift to describeSymbol method
Summary: what is says on the tin Reviewed By: simonhollis, aahanaggarwal Differential Revision: D78006106 fbshipit-source-id: 7995f703626a88404c5a45073363acef720184d4
1 parent 3bf48c7 commit dff25dd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

glean/glass/Glean/Glass/Search.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ searchEntityLocation lang toks = case lang of
9797
fmap (mapResultLocation Code.Entity_scip) <$> Search.symbolSearch toks
9898
Language_Kotlin ->
9999
fmap (mapResultLocation Code.Entity_scip) <$> Search.symbolSearch toks
100+
Language_Swift ->
101+
fmap (mapResultLocation Code.Entity_scip) <$> Search.symbolSearch toks
100102
lang ->
101103
return $ None $ "searchEntity: language not supported: " <> toShortCode lang
102104

0 commit comments

Comments
 (0)