-
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!: Update remaining builder methods to "infer by default" (#1386)
closes #1318 and also deals with BlockBuilder not mentioned there. I think this is now all of the nested-structures covered: | | XBuilder::new | fn x | |----|----|----| |Conditional|**here**|in #1226| |\->Case|takes `Signature`|inherits exts| |TailLoop|**here**|**here**| |DFG|takes `Signature`|takes `Signature` (`dfg_builder_endo` in #1219)| |CFG|takes `Signature`|**here**| |\->Block|**here**|in #1226| (FuncDefn takes `Signature` and is *not supported by inference yet* anyway) BREAKING CHANGE: `cfg_builder`, `tail_loop_builder`, `ConditionalBuilder::new`, `BlockBuilder::new` and `TailLoopBuilder::new` no longer take an ExtensionSet parameter; either remove the argument (to use extension inference) or use the `_exts` variant
- Loading branch information
Showing
6 changed files
with
108 additions
and
47 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
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