smithy
smithy copied to clipboard
`smithy format` puts postfix inline comments in the wrong place
smithy format will turn this:
operation Demo {
input: Unit // No input
output := {
foo: String
}
}
into this:
operation Demo {
input: Unit
// No input
output := {
foo: String
}
}
I would expect a trailing comment to adorn the syntactical element it's sharing a line with and not with the element following it.
Possible duplicate of #2279
Correct, closing as a duplicate of #2279