legacy-svn-scala/test/files/neg/bug779.scala

9 lines
141 B
Scala

abstract class Foo {
trait Node {
def ast: AnyRef = null
}
trait Something extends Node {
override def ast = return null
}
}