mirror of
https://github.com/github/semantic.git
synced 2024-12-01 09:15:01 +03:00
Use declarationsByRelation
This commit is contained in:
parent
0fc01f2149
commit
73d98bc2f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user