Skip to content

Commit

Permalink
Stabilize reflect flag JavaAnnotation (#19267)
Browse files Browse the repository at this point in the history
Flag added in #16260
  • Loading branch information
smarter authored Dec 14, 2023
2 parents 72b2102 + f435ed9 commit 4e4475d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion library/src/scala/quoted/Quotes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4516,7 +4516,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
def JavaStatic: Flags

/** Is this an annotation defined in Java */
@experimental def JavaAnnotation: Flags
def JavaAnnotation: Flags

/** Is this symbol `lazy` */
def Lazy: Flags
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ val experimentalDefinitionInLibrary = Set(
"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",
// Cant be stabilized yet.
// Need newClass variant that can add constructor parameters.
// Need experimental annotation macros to check that design works.
Expand Down

0 comments on commit 4e4475d

Please sign in to comment.