summaryrefslogblamecommitdiff
path: root/test/files/neg/bug1241.check
blob: 48c86cabb7accd698939e2eb608e60ad7fc0a19e (plain) (tree)
1
2
3
4


                                                                               
               
bug1241.scala:5: error: class type required but AnyRef{def hello(): Unit} found
  val x4 = new T { def hello() { println("4") } }        // error!
               ^
one error found