aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/overload-msg.scala
blob: 8715c156a24fd32ea379b31b9290e0ac1a223b1e (plain) (tree)
1
2
3
4



                                                                       
// type parameter shadows actual type, massive overload error confuses.
class A(x: Int) {
  def f[Int](y: Int) = x + y
}