Open codyroux opened 1 year ago
Fair point but definitely lower priority than incorrect or incomprehensible code generation. :)
I'm actually more bothered by the lack of indentation, as that impacts readability quite a bit more.
I wonder if the most efficient solution is to wait for dafny format
to deal with this instead, and run it post-hoc.
I wonder if the most efficient solution is to wait for
dafny format
to deal with this instead, and run it post-hoc.
I would love for dotnet format
to run as well...
Currently a generated method looks something like this:
The spaces before and after the parens, and the double space after the comma are not idiomatic in Dafny: they should be eliminated if we want to generate idiomatic code.