Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RakuAST: fix sequencing of BEGIN and CHECK handling
If a node needs to perform some BEGIN time tasks after its children, this could actually lead to those children not only running BEGIN but also CHECK handling first. This resulted e.g. in parameters not yet having a default type when their checks were performed (a time when the AST should be completed). Fix by forcing a resolve-only run on children of such nodes run and doing a second run after all BEGIN time effects are applied.
- Loading branch information
Showing
3 changed files
with
30 additions
and
4 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
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