summaryrefslogblamecommitdiff
path: root/test/files/neg/t0015.check
blob: 2979237c0a5ebf5aac3dda9a33b2113950ecddbf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                     
t0015.scala:5: error: type mismatch;
 found   : () => Nothing
 required: (Nothing) => ?
   Nil.map(f _)
           ^
t0015.scala:21: error: type mismatch;
 found   : M
 required: M.this.selfType
    f[Int](self: selfType)
           ^
two errors found