-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 'Replace' rewrite returns node map (#929)
This is a preliminary step towards using merging basic blocks, where the Replace rewrite needs to be used as part of a larger transformation - this makes it possible to use compositionally. Along the way, refactor the tests a bit (changing `verify_apply` to `check_same_error` and doing all the bad/`Err`-returning cases after the success case).
- Loading branch information
Showing
2 changed files
with
64 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters