object Foo {
val (A, B) = ()
}
Compiles fine even though neither A nor B are defined.
object Foo {
val (A, b) = ()
}
Doesn't compile because Unbound Identifier Error (on A).
object Foo {
val (a, b) = ()
}
Doesn't compile because cannot test if value types are references.