Skip to content

Commit

Permalink
fix dafny
Browse files Browse the repository at this point in the history
  • Loading branch information
alex28sh committed Dec 10, 2024
1 parent 6bb6dde commit 2a11fee
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions verified_cogen/runners/languages/language.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,12 @@ def generate_validators(self, code: str, validate_helpers: bool) -> str:
)
)

validators.append(
self._validators_from_pure(
method_name, parameters, returns, specs, body
if validate_helpers:
validators.append(
self._validators_from_pure(
method_name, parameters, returns, specs, body
)
)
)

for match in methods:
method_name, parameters, returns, specs = (
Expand Down

0 comments on commit 2a11fee

Please sign in to comment.