Skip to content

Commit

Permalink
Remove experimental from Mirror#fromProductTyped (scala#16829)
Browse files Browse the repository at this point in the history
This was first released in 3.1.3 so it seems like it could have
`@experimental` removed. Feel free to close if there's some other
process that determines when to remove experimental status for an API
addition like this.
  • Loading branch information
bishabosha authored Apr 25, 2023
2 parents bdadfd3 + cac782a commit a210f38
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion library/src/scala/deriving/Mirror.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ object Mirror {

extension [T](p: ProductOf[T])
/** Create a new instance of type `T` with elements taken from product `a`. */
@annotation.experimental
def fromProductTyped[A <: scala.Product, Elems <: p.MirroredElemTypes](a: A)(using m: ProductOf[A] { type MirroredElemTypes = Elems }): T =
p.fromProduct(a)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ val experimentalDefinitionInLibrary = Set(
//// New feature: into
"scala.annotation.allowConversions",

//// New APIs: Mirror
// Can be stabilized in 3.3.0 or later.
"scala.deriving.Mirror$.fromProductTyped", // This API is a bit convoluted. We may need some more feedback before we can stabilize it.

//// New feature: Macro annotations
"scala.annotation.MacroAnnotation",

Expand Down

0 comments on commit a210f38

Please sign in to comment.