blob: 0d653c501289776b77090d5c3ea321e21d8a033e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
trait C {}
class O[X]() {
trait I[Y] {
def foo(y: Y): Y = y;
}
val j:I[X] = null;
}
module o extends O[C]() {
def c: C = c;
def main = {
o.j.foo(c);
}
}
|