Is this possible to reach? If yes, please correct my Foo declaration syntax.
class Foo (...) {
...
def /* the nameless method name implied here */ (...) : Bar = new Bar (...)
...
}
class Bar (...) {
...
}
val foo : Foo = new Foo (...)
val fooBar : Bar = foo (...)