Python Syntax Error: For Loop with Set Modulus Bound #4007
Labels
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
lang: python
Dafny's Python transpiler and its runtime
part: code-generation
Support for transpiling Dafny to another language. If relevant, add a `lang:` tag
Dafny version
4.1.0
Code to produce this issue
Command to run and resulting output
What happened?
Compiling and running the above program for the Python backend verified and produced an output file, but when running Python over the output file, the syntax error is thrown and the program aborts. This occurs when the loop is non-empty and the bound is a modulus over a set comprehension. I would expect the behaviour to follow the other backends, which run successfully.
What type of operating system are you experiencing the problem on?
Linux, Mac
The text was updated successfully, but these errors were encountered: