aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/pickleinf.scala
blob: 9132f1a175796499715917dd2abbe47774faf675 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                             
class Bar[N] {
  def bar(name: N, dummy: Int = 42): N = name
}

object Test {
  def test(): Unit = {
    (new Bar).bar(10)
  }
}