aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/pos/z1730.scala
blob: 574b9bbd03d33f738e9aa0f8fdbded54f0cf9471 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                   
// /scala/trac/z1730/a.scala
// Wed May 23 07:41:25 PDT 2012

class X[R] {
  def xx(value: => R, addTweak: Boolean = true) = 0
}

class Boo {
  implicit def toX[R](v: R) : X[R] = null
  def goo2: Unit = {
    3.xx(34)
  }
}