Skip to content

Commit 4e4475d

Browse files
authored
Stabilize reflect flag JavaAnnotation (#19267)
Flag added in #16260
2 parents 72b2102 + f435ed9 commit 4e4475d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

library/src/scala/quoted/Quotes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4516,7 +4516,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
45164516
def JavaStatic: Flags
45174517

45184518
/** Is this an annotation defined in Java */
4519-
@experimental def JavaAnnotation: Flags
4519+
def JavaAnnotation: Flags
45204520

45214521
/** Is this symbol `lazy` */
45224522
def Lazy: Flags

tests/run-tasty-inspector/stdlibExperimentalDefinitions.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ val experimentalDefinitionInLibrary = Set(
7272
"scala.quoted.Quotes.reflectModule.SymbolMethods.paramVariance",
7373
// Can be stabilized in 3.4.0 (unsure) or later
7474
"scala.quoted.Quotes.reflectModule.CompilationInfoModule.XmacroSettings",
75-
"scala.quoted.Quotes.reflectModule.FlagsModule.JavaAnnotation",
7675
// Cant be stabilized yet.
7776
// Need newClass variant that can add constructor parameters.
7877
// Need experimental annotation macros to check that design works.

0 commit comments

Comments
 (0)