summaryrefslogblamecommitdiff
path: root/test/files/pos/t5178.scala
blob: ed0f814ec5db41b11c9feaad5f3e0d297cf9479c (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 { }