sdfmt: comment eats the next line
belka-ew opened this issue · 2 comments
belka-ew commented
sdfmt formatting breaks the code after a comment.
@@ -1,6 +1,4 @@
void f() {
- try {
- } // After formatting catch will be in this line as comment
- catch (Exception) {
- }
+ try {} // After formatting catch will be in this line as comment catch (
+ Exception) {}
}
Here catch
is moved into the comment and the code doesn't compile anymore.
deadalnix commented
This is fixed now, isn't it?
belka-ew commented
Yes, it is.