Skip to content

Stabilize reflect paramVariance #19268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
"scala.quoted.Quotes.reflectModule.FlagsModule.JavaAnnotation",
Expand Down