summaryrefslogtreecommitdiff
path: root/test/files/neg/overload-msg.scala
blob: 896722262d7d5463b219d3fa6dee2b29e6be7219 (plain) (blame)
1
2
3
4
// type parameter shadows actual type, massive overload error confuses.
class A(x: Int) { 
  def f[Int](y: Int) = x + y
}