Stabilize comment around break and continue in no-semi mode (#7161)

Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
Georgii Dolzhykovandfisker authored and GitHub committed 2026-01-18 05:38:52 +08:00
1 parent 93f0ff3910
commit f5e3980c30
9 files changed
+232 -62

No files matched your search

@@ -12,7 +12,6 @@ exports[`prints information for debugging comment attachment with --debug-print-
"start": { "line": 1, "column": 0, "index": 0 },
"end": { "line": 1, "column": 7, "index": 7 }
},
"placement": "endOfLine",
"leading": true,
"trailing": false,
"nodeDescription": "ExpressionStatement"
@@ -26,7 +25,6 @@ exports[`prints information for debugging comment attachment with --debug-print-
"start": { "line": 2, "column": 16, "index": 24 },
"end": { "line": 2, "column": 23, "index": 31 }
},
"placement": "remaining",
"leading": false,
"trailing": true,
"nodeDescription": "Identifier foo"
@@ -40,7 +38,6 @@ exports[`prints information for debugging comment attachment with --debug-print-
"start": { "line": 2, "column": 26, "index": 34 },
"end": { "line": 2, "column": 30, "index": 38 }
},
"placement": "remaining",
"leading": false,
"trailing": true,
"nodeDescription": "ExpressionStatement"