summaryrefslogblamecommitdiff
path: root/test/files/pos/t6029.scala
blob: 8f1bbb4ebff5652cc80caa00196231736a8ba366 (plain) (tree)
1
2
3


                                                         
final case class V[A](x: A) extends AnyVal {
  def flatMap[B](f: A => V[B]) = if (true) this else f(x)
}