Skip to content

Commit

Permalink
Stabilize reflect paramVariance (#19268)
Browse files Browse the repository at this point in the history
  • Loading branch information
smarter authored Dec 14, 2023
2 parents 4e4475d + 4609167 commit 1e2d8e0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions library/src/scala/quoted/Quotes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3295,7 +3295,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
*
* Variance flags can be one of `Flags.{Covariant, Contravariant, EmptyFlags}`.
*/
@experimental
def paramVariances: List[Flags]
end extension
end TypeLambdaMethods
Expand Down Expand Up @@ -4123,7 +4122,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
* Variance flags can be one of `Flags.{Covariant, Contravariant, EmptyFlags}`.
* If this is not the symbol of a type parameter the result is `Flags.EmptyFlags`.
*/
@experimental
def paramVariance: Flags

/** Signature of this definition */
Expand Down
2 changes: 0 additions & 2 deletions tests/run-tasty-inspector/stdlibExperimentalDefinitions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ val experimentalDefinitionInLibrary = Set(
"scala.annotation.init$.region",

//// New APIs: Quotes
"scala.quoted.Quotes.reflectModule.TypeLambdaMethods.paramVariances",
"scala.quoted.Quotes.reflectModule.SymbolMethods.paramVariance",
// Can be stabilized in 3.4.0 (unsure) or later
"scala.quoted.Quotes.reflectModule.CompilationInfoModule.XmacroSettings",
// Cant be stabilized yet.
Expand Down

0 comments on commit 1e2d8e0

Please sign in to comment.