## Compiler version v3.7.3 ## Minimized code ```scala //> using scala 3.7.4 trait Foo val foo = new Foo: // comment end new val foo2 = new Foo: end new @main def test = {} ``` ## Output ```scala misaligned end marker errors ``` ## Expectation No error.