summaryrefslogblamecommitdiff
path: root/test/files/neg/abstract-explaintypes.check
blob: 59c1ad23785c5215c946c79b9a8274b5c5adae87 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                    
abstract-explaintypes.scala:6: error: type mismatch;
 found   : A
 required: A.this.T
  def foo2: T = bar().baz();
                         ^
abstract-explaintypes.scala:9: error: type mismatch;
 found   : A
 required: A.this.T
  def foo5: T = baz().baz();
                         ^
two errors found