Skip to content

Commit

Permalink
import language.experimental.namedTuples in pos/fieldsOf.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneFlesselle authored and odersky committed May 6, 2024
1 parent 8d6fa37 commit 1e29c4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/pos/fieldsOf.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import language.experimental.namedTuples

case class Person(name: String, age: Int)

type PF = NamedTuple.From[Person]
Expand Down

0 comments on commit 1e29c4f

Please sign in to comment.