gobra
gobra copied to clipboard
Cyclic Termination Measures
Gobra should reject pure functions that use themselves as a termination measure. While Viper issues a consistency error, Gobra does not.
minimal example:
package p
decreases f()
pure func f() int