Skip to content

Commit 31dd855

Browse files
committed
Fix namedTuples import
1 parent 70df81d commit 31dd855

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)