-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
chavacava
committed
Jan 11, 2025
1 parent
d0da32a
commit 5f2fce6
Showing
1 changed file
with
1 addition
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
[] add type info to solve type-mismatch errors | ||
[] add actual expression values in panic messages | ||
[] use templates to generate code | ||
[] add @forall | ||
[] add @exists | ||
[] provide mean to define the panic message, something like | ||
// Credit the given amount to the account | ||
// @requires [can not credit a closed account] !a.closed | ||
// ... | ||
func (a *BankAccount) Credit(amount int) { | ||
// ... implementation ... | ||
} | ||
|
||
|
||
|