Skip to content

Commit 1e2d8e0

Browse files
authored
Stabilize reflect paramVariance (#19268)
2 parents 4e4475d + 4609167 commit 1e2d8e0

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

library/src/scala/quoted/Quotes.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3295,7 +3295,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
32953295
*
32963296
* Variance flags can be one of `Flags.{Covariant, Contravariant, EmptyFlags}`.
32973297
*/
3298-
@experimental
32993298
def paramVariances: List[Flags]
33003299
end extension
33013300
end TypeLambdaMethods
@@ -4123,7 +4122,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
41234122
* Variance flags can be one of `Flags.{Covariant, Contravariant, EmptyFlags}`.
41244123
* If this is not the symbol of a type parameter the result is `Flags.EmptyFlags`.
41254124
*/
4126-
@experimental
41274125
def paramVariance: Flags
41284126

41294127
/** Signature of this definition */

tests/run-tasty-inspector/stdlibExperimentalDefinitions.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ val experimentalDefinitionInLibrary = Set(
6868
"scala.annotation.init$.region",
6969

7070
//// New APIs: Quotes
71-
"scala.quoted.Quotes.reflectModule.TypeLambdaMethods.paramVariances",
72-
"scala.quoted.Quotes.reflectModule.SymbolMethods.paramVariance",
7371
// Can be stabilized in 3.4.0 (unsure) or later
7472
"scala.quoted.Quotes.reflectModule.CompilationInfoModule.XmacroSettings",
7573
// Cant be stabilized yet.

0 commit comments

Comments
 (0)