--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/no-semi-babylon-extensions/no-semi.js --- # Input ```js a ;::b.c class A { a = b; in c a = b; instanceof(){} } ``` # Prettier differences ```diff --- Prettier +++ Rome @@ -1,5 +1,5 @@ a; -::b.c; +::b.c class A { a = b; ``` # Output ```js a; ::b.c class A { a = b; in; c; a = b; instanceof() {} } ``` # Errors ``` no-semi.js:2:2 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected a statement but instead found '::b.c' 1 │ a > 2 │ ;::b.c │ ^^^^^ 3 │ 4 │ class A { i Expected a statement here 1 │ a > 2 │ ;::b.c │ ^^^^^ 3 │ 4 │ class A { ```