Skip to content

Commit

Permalink
Update util.gobra
Browse files Browse the repository at this point in the history
  • Loading branch information
jcp19 authored Jul 8, 2024
1 parent 03c1a40 commit 462be80
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions util/util.gobra
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,13 @@ package util

type Unit struct{}

// Useful for marking functions as never called, by putting it in the precondition
const Uncallable bool = false

ghost
requires false
decreases
pure func Unreachable() Unit {
return Unit{}
}

ghost
ensures false
decreases
func IgnoreBranch()

ghost
ensures false
decreases
Expand Down

0 comments on commit 462be80

Please sign in to comment.