Closed
Description
Compiler version
scala-3.0.1-RC1 (83acd4b)
Minimized code
This code shouldn't have been compiled, but it did:
class C {
}
end C
And automatic rewriting (-rewrite -no-indent
) does not delete the end
. For this code:
class C:
val foo: Int = 0
end C
After compiling with scalac -rewrite -no-indent
:
class C {
val foo: Int = 0
}
end C