Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ast: Fix compiler to expand exprs in rule args
Previously the compiler was not rewriting expr terms in the rule args. In particular, this meant that indirect refs were not being rewritten. This would lead to panics in the safety check which assume that indirect refs have been rewritten (in other words, that reference heads are always variables.) This commit just updates the expr term rewriting to process rule args as it does for the rule head key and value terms. Fixes #2649 Signed-off-by: Torin Sandall <torinsandall@gmail.com>
- Loading branch information