Skip to content

Commit a210f38

Browse files
authored
Remove experimental from Mirror#fromProductTyped (#16829)
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.
2 parents bdadfd3 + cac782a commit a210f38

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

library/src/scala/deriving/Mirror.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ object Mirror {
5252

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

tests/run-custom-args/tasty-inspector/stdlibExperimentalDefinitions.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ val experimentalDefinitionInLibrary = Set(
5959
//// New feature: into
6060
"scala.annotation.allowConversions",
6161

62-
//// New APIs: Mirror
63-
// Can be stabilized in 3.3.0 or later.
64-
"scala.deriving.Mirror$.fromProductTyped", // This API is a bit convoluted. We may need some more feedback before we can stabilize it.
65-
6662
//// New feature: Macro annotations
6763
"scala.annotation.MacroAnnotation",
6864

0 commit comments

Comments
 (0)