Skip to content

Commit

Permalink
Rename, work around Go bug
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-aws committed Oct 13, 2023
1 parent 578cdfa commit 16be5d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ module {:options "--function-syntax:4"} DafnyStdLibs.Wrappers {
/** In verification, this method functions as an `assert` of the given condition;
at run-time functions as an `expect`. The arguments may not be ghost.
*/
method AssertAndExpect<T>(condition: bool, maybeMsg: Option<T> := None)
method AssertAndExpect(condition: bool, maybeMsg: Option<string> := None)
requires condition
{
match maybeMsg {
Expand Down

0 comments on commit 16be5d6

Please sign in to comment.