You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported by: Vytautas Astrauskas (Bitbucket: vakaras, GitHub: vakaras)
For the following code:
#!python
from py2viper_contracts.contracts import *
from typing import Tuple
def test(a: int, b: int) -> Tuple[int, int]:
Ensures(
#:: UnexpectedOutput(postcondition.violated:assertion.false, /py2viper/issue/26/)
((True and
True) and
True) and
#:: ExpectedOutput(postcondition.violated:assertion.false)
#:: MissingOutput(postcondition.violated:assertion.false, /py2viper/issue/26/)
(Result()[0] == a and
Result()[1] == b)
)
return b, a
the postcondition violation is reported on line 8 while it should be reported on line 11.
Originally reported by: Vytautas Astrauskas (Bitbucket: vakaras, GitHub: vakaras)
For the following code:
the postcondition violation is reported on line 8 while it should be reported on line 11.
The text was updated successfully, but these errors were encountered: