diff --git a/semantic-python/src/Language/Python/ScopeGraph.hs b/semantic-python/src/Language/Python/ScopeGraph.hs index d6b5a728b..c4ffb27c5 100644 --- a/semantic-python/src/Language/Python/ScopeGraph.hs +++ b/semantic-python/src/Language/Python/ScopeGraph.hs @@ -232,6 +232,7 @@ instance ToScopeGraph Py.Integer where scopeGraph = mempty instance ToScopeGraph Py.ImportStatement where scopeGraph = todo + instance ToScopeGraph Py.ImportFromStatement where scopeGraph (Py.ImportFromStatement _ [] (L1 (Py.DottedName _ names)) (Just (Py.WildcardImport _ _))) = do let toName (Py.Identifier _ name) = Name.name name @@ -248,7 +249,6 @@ instance ToScopeGraph Py.ImportFromStatement where complete - instance ToScopeGraph Py.Lambda where scopeGraph = todo instance ToScopeGraph Py.List where scopeGraph = onChildren