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
Originally reported by: Vytautas Astrauskas (Bitbucket: vakaras, GitHub: vakaras)
The following:
#!python from py2viper_contracts.contracts import * from typing import Tuple @GhostReturns(2) def test() -> Tuple[int, int, int]: return 1, 2, 3
fails with error:
#!pytb > bin/py2viper --log debug --verifier silicon tests/verification/issues/00028.py Translation failed tests/verification/issues/00028.py:5: error: Argument 1 has incompatible type Callable[[], Tuple[int, int, int]]; expected None JVM activity report : classes loaded : 118 JVM has been shutdown
The text was updated successfully, but these errors were encountered:
Original comment by Marco Eilers (Bitbucket: meilers, GitHub: meilers):
This is a symptom of mypy bug 1551 (python/mypy#1551).
Sorry, something went wrong.
No branches or pull requests
Originally reported by: Vytautas Astrauskas (Bitbucket: vakaras, GitHub: vakaras)
The following:
fails with error:
The text was updated successfully, but these errors were encountered: