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

Gutter icons broken for constant without RHS #5841

Closed
MikaelMayer opened this issue Oct 18, 2024 · 0 comments · Fixed by #5842
Closed

Gutter icons broken for constant without RHS #5841

MikaelMayer opened this issue Oct 18, 2024 · 0 comments · Fixed by #5842

Comments

@MikaelMayer
Copy link
Member

class Test {
  const x: int

  method Testing()
    requires x > 0
    ensures x != 0
  {
  }
}

The green gutter icon bar starts only after the "x" although that constant has no RHS to verify.

MikaelMayer added a commit that referenced this issue Oct 18, 2024
MikaelMayer added a commit that referenced this issue Oct 18, 2024
Fixes #5841
Tests have been added

<small>By submitting this pull request, I confirm that my contribution
is made under the terms of the [MIT
license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
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

Successfully merging a pull request may close this issue.

1 participant