gobra icon indicating copy to clipboard operation
gobra copied to clipboard

Cyclic Termination Measures

Open ArquintL opened this issue 1 year ago • 1 comments

Gobra should reject pure functions that use themselves as a termination measure. While Viper issues a consistency error, Gobra does not.

ArquintL avatar Apr 07 '24 15:04 ArquintL

minimal example:

package p

decreases f()
pure func f() int

jcp19 avatar Apr 22 '25 11:04 jcp19