Skip to content

Commit

Permalink
Fix namedTuples import
Browse files Browse the repository at this point in the history
  • Loading branch information
noti0na1 committed Nov 30, 2024
1 parent 70df81d commit 31dd855
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/pos/named-tuple-downcast.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import scala.language.experimental.namedTuples

type Person = (name: String, age: Int)

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

0 comments on commit 31dd855

Please sign in to comment.