aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t4196.scala
blob: a0ad4db72a5069885f9d690958d4564c96d07cd3 (plain) (blame)
1
2
3
4
5
6
object Weird {
  { (s: String) =>
      val foo = Some(s); // to illustrate that vals are printed in the error
      foo
  }.apply("first param") ("spurious param")
}