-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Macros for initializer checks (#4830)
Adds two new macros for private functions `#[aztec(initializer)]` and `#[aztec(initcheck)]` that add the `mark_as_initialized` and `assert_is_initialized` calls respectively. The idea is to eventually drop the `initcheck` and make it the default, and add a `noinitcheck` for the cases where we don't want initializer checks. Builds on #4807
- Loading branch information
1 parent
a049d1f
commit c7c24b2
Showing
2 changed files
with
97 additions
and
12 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