summaryrefslogblamecommitdiff
path: root/test/neg/bug44.check
blob: 6b8609f41d2f9fa0ab53b7fe855f1908356466b8 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                
bug44.scala:2: method t overrides nothing
  var x: Object { def t: Int; } = new Object() {
                      ^
bug44.scala:2: type mismatch;
 found   : scala.Object
 required: scala.Object { def t: scala.Int }
  var x: Object { def t: Int; } = new Object() {
                                  ^
two errors found