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










                                                          
t8675.scala:13: error: type mismatch;
 found   : Boolean(true)
 required: String
    a.update(0, x[A]({new isString(true)})) // !!! allowed
                                   ^
t8675.scala:22: error: type mismatch;
 found   : Boolean(true)
 required: String
    new X().m(x[A]({new isString(true)})) // !!! allowed
                                 ^
two errors found