bbaldino
object
abstract class Foo(val num: Int) // Error: expecting a class body val x = object : Foo(42) // Works val y = object : Foo(42) {}