Closed
Description
Minimized code
trait Foo:
end Foo
Output
This code does not compile. The error message is:
end Foo
^^^
indented definitions expected
However, it is possible to create an empty trait with the brace-significant syntax:
trait Foo {
}
Expectation
The first definition of trait Foo
should compile just like the last one.