Skip to content

Commit

Permalink
Count vertex indices in applications and dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
aabounegm committed Feb 11, 2024
1 parent 9fe8c05 commit 24f74ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eo-phi-normalizer/src/Language/EO/Phi/Rules/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ lookupBinding _ _ = Nothing

objectBindings :: Object -> [Binding]
objectBindings (Formation bs) = bs
objectBindings (Application obj bs) = objectBindings obj ++ bs
objectBindings (ObjectDispatch obj _attr) = objectBindings obj
objectBindings _ = []

nuCount :: Object -> Int
Expand Down

0 comments on commit 24f74ef

Please sign in to comment.