blob: 1bf0bf6ebdd4623a3a745cdfe56f576122274dcd (
plain) (
tree)
|
|
// Invalid because syntax has changed;
// template statements cannot be lambdas.
object t4202_1 {
() => {
trait T {
def t = ()
}
}
}
object t4202_2 {
() => {
trait T {
def t = ()
}
object T2 extends T {
t
}
}
}
|