## Compiler version scala-3.0.1-RC1 (https://github.com/lampepfl/dotty/commit/83acd4b9e9e7af49f3702022c0ef08209f123f29) ## Minimized code This code shouldn't have been compiled, but it did: ```Scala class C { } end C ``` And automatic rewriting (`-rewrite -no-indent`) does not delete the `end`. For this code: ```scala class C: val foo: Int = 0 end C ``` After compiling with `scalac -rewrite -no-indent`: ```scala class C { val foo: Int = 0 } end C ```