summaryrefslogblamecommitdiff
path: root/test/files/neg/bug4196.scala
blob: 06e1f28d549ab4122d1c17449e6b6a264495c97e (plain) (tree)
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")
}