summaryrefslogtreecommitdiff
path: root/test/files/run/t6572/foo_2.scala
blob: 465f0b7c3c01214648290ccc2eb4f5d24ce9466c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//package foo

import bar._

class FooProvider extends IntProvider {
  def int = 3
}

class Wrapper(users: DefaultIntBase[FooProvider]) {
  final def user(userId: Int) = users.get(userId)
}

object Test {
  def main(args: Array[String]) {
    new Wrapper(new DefaultIntBase)
  }
}