From 31dd8558e9e9a5e3c080947bbf2192861427c128 Mon Sep 17 00:00:00 2001 From: noti0na1 Date: Sat, 30 Nov 2024 14:04:54 +0100 Subject: [PATCH] Fix namedTuples import --- tests/pos/named-tuple-downcast.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pos/named-tuple-downcast.scala b/tests/pos/named-tuple-downcast.scala index 239089b60c3d..b9876623faf2 100644 --- a/tests/pos/named-tuple-downcast.scala +++ b/tests/pos/named-tuple-downcast.scala @@ -1,3 +1,5 @@ +import scala.language.experimental.namedTuples + type Person = (name: String, age: Int) val Bob: Person = (name = "Bob", age = 33)