aboutsummaryrefslogblamecommitdiff
path: root/tests/run/implicitFunctionXXL.scala
blob: 9d1d4ff37ecd86c1fe7fabe13161dcfa20929c29 (plain) (tree)





































                                             
object Test {

  def main(args: Array[String]): Unit = {

    implicit val intWorld: Int = 42
    implicit val strWorld: String = "Hello "

    val i1 = (implicit (x1: Int,
                        x2: String,
                        x3: Int,
                        x4: Int,
                        x5: Int,
                        x6: Int,
                        x7: Int,
                        x8: Int,
                        x9: Int,
                        x10: Int,
                        x11: Int,
                        x12: Int,
                        x13: Int,
                        x14: Int,
                        x15: Int,
                        x16: Int,
                        x17: Int,
                        x18: Int,
                        x19: Int,
                        x20: Int,
                        x21: Int,
                        x22: Int,
                        x23: Int,
                        x24: Int,
                        x25: Int,
                        x26: Int) => x2 + x1)

    println(i1)
  }

}