Skip to content

Commit 34f3993

Browse files
Fix nightly build by updating a named tuple test with language import (#22059)
Because of the change from #22045, the test `tests/pos/named-tuple-downcast.scala` from #22028 need to be updated with `import scala.language.experimental.namedTuples`. Fix #22058
2 parents 70df81d + 31dd855 commit 34f3993

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/pos/named-tuple-downcast.scala

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import scala.language.experimental.namedTuples
2+
13
type Person = (name: String, age: Int)
24

35
val Bob: Person = (name = "Bob", age = 33)

0 commit comments

Comments
 (0)