summaryrefslogblamecommitdiff
path: root/test/files/pos/t5178.scala
blob: 26c008d66ffde57f2ceb805f693afde1165cf40f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                             
abstract class FileOps {
  def withLock[R](start: Long = 0): Option[R]
}

trait DefaultFileOps {
  self: DefaultPath =>
  
  override def withLock[R](start: Long = 5): Option[R] = None
}

class DefaultPath extends FileOps with DefaultFileOps { }