1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00

Look in Classes for objectMembers

This commit is contained in:
joshvera 2018-12-04 10:35:52 -05:00
parent 7f4d4d0c40
commit 766f9bd018

View File

@ -166,6 +166,7 @@ objectMembers :: Heap Precise Precise (Value term Precise)
-> Value term Precise
-> Maybe [Name]
objectMembers heap scopeGraph (Object frame) = frameNames heap scopeGraph frame
objectMembers heap scopeGraph (Class _ _ frame) = frameNames heap scopeGraph frame
objectMembers _ _ _ = Nothing
frameNames :: Heap Precise Precise (Value term Precise)