summaryrefslogtreecommitdiff
path: root/test/files/neg/abstract.check
blob: 811708ccff4fd2d38522c78abfc6b0129683cf2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
abstract.scala:6: error: type mismatch;
 found   : A
 required: A.this.T
  def foo2: T = bar().baz();
                         ^
abstract.scala:9: error: type mismatch;
 found   : A
 required: A.this.T
  def foo5: T = baz().baz();
                         ^
two errors found