Skip to content
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

Link pure method expressions to the corresponding method exit PPT #105

Open
GoogleCodeExporter opened this issue Mar 4, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Linking pure method expressions to their corresponding method exit PPT may 
reduce the inference of redundant contracts.

In the example below, the postcondition \result > 0 would be inferred for 
Foo.PositiveNumber(), and the precondition f.PositiveNumber() > 0 would be 
inferred for the precondition of DoSomething.

class Foo {
   int PositiveNumber() { ... }
}


class Bar {
   void DoSomething(Foo f){ ... }
}


Original issue reported on code.google.com by [email protected] on 11 Jun 2013 at 10:40

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 14 Jun 2013 at 2:55

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant