Desugars contract into the internal AST extensions

Check ensures on early return due to Try / Yeet

Expand these two expressions to include a call to contract checking
This commit is contained in:
Felix S. Klock II
2024-12-03 02:52:29 +00:00
committed by Celina G. Val
parent 38eff16d0a
commit ae7eff0be5
12 changed files with 457 additions and 88 deletions

View File

@@ -682,6 +682,8 @@ symbols! {
contract_check_ensures,
contract_check_requires,
contract_checks,
contracts_ensures,
contracts_requires,
convert_identity,
copy,
copy_closures,