From f2fc7444ba61fb23849771f66d8ddaacf16b78c1 Mon Sep 17 00:00:00 2001 From: Decel <8268812+Decel@users.noreply.github.com> Date: Thu, 6 Apr 2023 16:53:46 +0200 Subject: [PATCH] add regression test --- tests/pos/i14351.scala | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/pos/i14351.scala diff --git a/tests/pos/i14351.scala b/tests/pos/i14351.scala new file mode 100644 index 000000000000..556e6b1ed64e --- /dev/null +++ b/tests/pos/i14351.scala @@ -0,0 +1 @@ +val p: (Option[Int], Option[String]) = (1,"foo").map([T] => (x: T) => Option.apply[T](x))