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

weird error message: "(0,-1): Error: a postcondition" #487

Open
kjx opened this issue Aug 15, 2024 · 3 comments
Open

weird error message: "(0,-1): Error: a postcondition" #487

kjx opened this issue Aug 15, 2024 · 3 comments

Comments

@kjx
Copy link

kjx commented Aug 15, 2024

Failing code

too much to paste (down to 6K lines)

(0,-1): Error: a postcondition could not be proved on this return path

Steps to reproduce the issue

  • Dafny version: 4.7.0.0
  • Dafny VSCode extension version: 3.3.1

Expected behavior

(line number, column number)

Actual behavior

(0,-1)

@keyboardDrummer
Copy link
Member

If you figure out which piece of code the error is about, please add it to this issue.

@kjx
Copy link
Author

kjx commented Aug 15, 2024 via email

@kjx
Copy link
Author

kjx commented Aug 19, 2024

Dunno if this helps but theIDE just gave me this popup also with a zero line number.

image

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

No branches or pull requests

2 participants