Revert "use array syntax for match calls"

This reverts commit 1b49756e54b3cee0c3ee7ac9306d1a9fe2f48bde.
pass parent reference to match closures