Are you using the latest released (or pre-released, a.k.a. "next") version?
[X] I'm using the latest Tact version
Tact source code
init() {
}
Relevant Tact/build system log output
No response
What happened?
Pretty-printer keeps it as
init() {
}
What did you expect?
This doesn't look like expected behavior, because it's almost never formatted this way, and also requires explicit support for displaying empty statement blocks.
Unfortunately it's also persisted in our tests, and fixing it will break indentation in projects that already depend on pretty-printer's output.
Are you using the latest released (or pre-released, a.k.a. "next") version?
Tact source code
Relevant Tact/build system log output
No response
What happened?
Pretty-printer keeps it as
What did you expect?
This doesn't look like expected behavior, because it's almost never formatted this way, and also requires explicit support for displaying empty statement blocks.
Unfortunately it's also persisted in our tests, and fixing it will break indentation in projects that already depend on pretty-printer's output.
Steps to reproduce
No response
How do you run Tact?
No response
Anything else?
No response