1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 01:42:43 +03:00

type annotate

This commit is contained in:
joshvera 2020-01-23 10:58:36 -05:00
parent 75f8273f28
commit 3a1fdebfae

View File

@ -122,7 +122,7 @@ instance ToScopeGraph Py.Call where
} = do
result <- scopeGraph function
let scopeGraphArg = \case
Prj expr -> scopeGraph (expr :: Py.Expression Loc)
Prj expr -> scopeGraph @Py.Expression expr
other -> todo other
args <- traverse scopeGraphArg args
pure (result <> mconcat args)