package test object Test { def main(args: Array[String]): Unit = { A.actOnX(_ + 1) } }