aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/t1705.check
blob: 7f75bd0fb5bbea17fc562f94e246395bdffd590e (plain) (tree)
1
2
3
4
5
6
7






                                                                                     
t1705.scala:9: error: can't existentially abstract over parameterized type this.T[Z]
    val c = new C{
            ^
t1705.scala:14: error: can't existentially abstract over parameterized type C[String]
    val x1 = {
             ^
two errors found