-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependencies of Run
#234
Dependencies of Run
#234
Conversation
verification/dependencies/golang.org/x/net/internal/socket/socket.gobra
Outdated
Show resolved
Hide resolved
We are currently hung-up in the following error: viperproject/gobra#702 |
@@ -398,38 +394,35 @@ func (cc *connUDPBase) initConnUDP(network string, laddr, raddr *net.UDPAddr, cf | |||
return nil | |||
} | |||
|
|||
// @ preserves c.Mem() | |||
// @ preserves acc(c.Mem(), _) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit of a nitpick but I would change this to requires (and same for similar cases below). I find it a bit confusing since it is not really preserved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was gonna change this, but decided against. If one expands the definition of _
, I would argue that it is preserved:
preserves exists p perm :: 0 < p && p < perm(c.Mem()) && acc(c.Mem(), p)
Depends on https://github.com/viperproject/gobra/pull/700/files