-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topdown/eval: fix 'every' term plugging on save (#4775)
Previously missing plugging could cause unsafe variables in the PE output. Now, all terms in the 'every' body should be plugged properly. The approach taken here is to plug them all, and then fix the key and val var names of the copied every expression. Those vars are fresh after the compiler is done with the expression, so plugging them should never have any effect outside of the rename. Signed-off-by: Stephan Renatus <[email protected]>
- Loading branch information
Showing
2 changed files
with
45 additions
and
15 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