We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given the following scenario
SuperClass
SuperContractClass
void method(int a)
TargetClass
TargetContractClass
if (precondition())
method
<default-precondition>
` (or omitting it)
Expected behaviour: no "Found strengthening pre-condition" error
Observed behaviour: "Found strengthening pre-condition in method(int)" error is raised
The text was updated successfully, but these errors were encountered:
fixes C4J-Team#54: allow a precondition in sub-contracts if no precon…
2e11a0b
…dition is given in super-contract and default-precondition configuration is undefined
No branches or pull requests
Given the following scenario
SuperClass
with external contract classSuperContractClass
and methodevoid method(int a)
TargetClass
, a sub class ofSuperClass
, with external contractTargetContractClass
if (precondition())
block inside the definition of methodmethod
ofSuperContractClass
if (precondition())
inside the overrided methodmethod
inTargetContractClass
<default-precondition>
to `undefined` (or omitting it)
Expected behaviour: no "Found strengthening pre-condition" error
Observed behaviour: "Found strengthening pre-condition in method(int)" error is raised
The text was updated successfully, but these errors were encountered: