blob: 9cbae3e99c140c9fa3bf4872c1f31c3cd3e9a94e (
plain) (
tree)
|
|
object Test {
def main(args: Array[String]) {
def foo = {println("foo"); 0}
lazyDep(X)(foo)
}
trait T {
type U
}
object X extends T { type U = Int }
def lazyDep(t: T)(us: t.U*) {
List(us: _*)
}
}
|