1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00

Use declarationsByRelation

This commit is contained in:
Rick Winfrey 2019-01-15 17:22:30 -08:00
parent 0fc01f2149
commit 73d98bc2f9

View File

@ -547,7 +547,7 @@ instance Evaluatable New where
objectVal <- object objectFrame
classScope <- scopeLookup classFrame
instanceMembers <- relationsOfScope classScope [(Instance Public), (Instance Protected), (Instance Private), (Instance Unknown)]
instanceMembers <- declarationsByRelation classScope Instance
void . withScopeAndFrame objectFrame $ do
for_ instanceMembers $ \Info{..} -> do