diff --git a/library/src/scala/quoted/Quotes.scala b/library/src/scala/quoted/Quotes.scala index 61902c1842f0..a00c620788c9 100644 --- a/library/src/scala/quoted/Quotes.scala +++ b/library/src/scala/quoted/Quotes.scala @@ -493,7 +493,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching => * @param body List of members of the class. The members must align with the members of `cls`. */ // TODO add selfOpt: Option[ValDef]? - @experimental def apply(cls: Symbol, parents: List[Tree /* Term | TypeTree */], body: List[Statement]): ClassDef + // ^ if a use-case shows up, we add this via an overloaded method + def apply(cls: Symbol, parents: List[Tree /* Term | TypeTree */], body: List[Statement]): ClassDef def copy(original: Tree)(name: String, constr: DefDef, parents: List[Tree /* Term | TypeTree */], selfOpt: Option[ValDef], body: List[Statement]): ClassDef def unapply(cdef: ClassDef): (String, DefDef, List[Tree /* Term | TypeTree */], Option[ValDef], List[Statement]) @@ -518,7 +519,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching => * @syntax markdown */ // TODO add selfOpt: Option[ValDef]? - @experimental def module(module: Symbol, parents: List[Tree /* Term | TypeTree */], body: List[Statement]): (ValDef, ClassDef) + // ^ if a use-case shows up, we can add this via an overloaded method + def module(module: Symbol, parents: List[Tree /* Term | TypeTree */], body: List[Statement]): (ValDef, ClassDef) } /** Makes extension methods on `ClassDef` available without any imports */ @@ -3878,7 +3880,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching => * @note As a macro can only splice code into the point at which it is expanded, all generated symbols must be * direct or indirect children of the reflection context's owner. */ - @experimental def newClass(owner: Symbol, name: String, parents: List[TypeRepr], decls: Symbol => List[Symbol], selfType: Option[TypeRepr]): Symbol + def newClass(owner: Symbol, name: String, parents: List[TypeRepr], decls: Symbol => List[Symbol], selfType: Option[TypeRepr]): Symbol /** Generates a new class symbol for a class with a public single term clause constructor. * @@ -3936,7 +3938,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching => * @note As a macro can only splice code into the point at which it is expanded, all generated symbols must be * direct or indirect children of the reflection context's owner. */ - @experimental def newClass( + def newClass( owner: Symbol, name: String, parents: Symbol => List[TypeRepr], @@ -4038,7 +4040,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching => */ // Keep doc aligned with QuotesImpl's validFlags: `clsFlags` with `validClassFlags`, `conFlags` with `validClassConstructorFlags`, // conParamFlags with `validClassTypeParamFlags` and `validClassTermParamFlags` - @experimental def newClass( + def newClass( owner: Symbol, name: String, parents: Symbol => List[TypeRepr], @@ -4110,7 +4112,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching => * * @syntax markdown */ - @experimental def newModule(owner: Symbol, name: String, modFlags: Flags, clsFlags: Flags, parents: Symbol => List[TypeRepr], decls: Symbol => List[Symbol], privateWithin: Symbol): Symbol + def newModule(owner: Symbol, name: String, modFlags: Flags, clsFlags: Flags, parents: Symbol => List[TypeRepr], decls: Symbol => List[Symbol], privateWithin: Symbol): Symbol /** Generates a new method symbol with the given parent, name and type. * @@ -4225,7 +4227,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching => * * @param prefix Prefix of the fresh name */ - @experimental def freshName(prefix: String): String } diff --git a/project/MiMaFilters.scala b/project/MiMaFilters.scala index 7e97b1a3b8c4..414178a02dd9 100644 --- a/project/MiMaFilters.scala +++ b/project/MiMaFilters.scala @@ -17,7 +17,7 @@ object MiMaFilters { ProblemFilters.exclude[DirectMissingMethodProblem]("scala.Conversion.underlying"), ProblemFilters.exclude[MissingClassProblem]("scala.Conversion$"), - ProblemFilters.exclude[MissingClassProblem]("scala.annotation.internal.RuntimeChecked"), + ProblemFilters.exclude[MissingClassProblem]("scala.annotation.internal.RuntimeChecked"), ProblemFilters.exclude[MissingClassProblem]("scala.annotation.stableNull"), ProblemFilters.exclude[DirectMissingMethodProblem]("scala.NamedTuple.namedTupleOrdering"), @@ -138,6 +138,9 @@ object MiMaFilters { ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#MethodTypeMethods.isContextual"), ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#ImplicitsModule.searchIgnoring"), ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#ValDefModule.let"), + ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#SymbolModule.newClass"), + ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#SymbolModule.newModule"), + // Change `experimental` annotation to a final class ProblemFilters.exclude[FinalClassProblem]("scala.annotation.experimental"), ), diff --git a/tests/neg-macros/i19842-a.check b/tests/neg-macros/i19842-a.check index 33588b7278c2..f37af6926c6a 100644 --- a/tests/neg-macros/i19842-a.check +++ b/tests/neg-macros/i19842-a.check @@ -11,7 +11,7 @@ | at dotty.tools.dotc.transform.TreeChecker$.checkParents(TreeChecker.scala:210) | at scala.quoted.runtime.impl.QuotesImpl$reflect$ClassDef$.module(QuotesImpl.scala:286) | at scala.quoted.runtime.impl.QuotesImpl$reflect$ClassDef$.module(QuotesImpl.scala:285) - | at Macros$.makeSerializer(Macro.scala:25) + | at Macros$.makeSerializer(Macro.scala:23) | |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace diff --git a/tests/neg-macros/i19842-a/Macro.scala b/tests/neg-macros/i19842-a/Macro.scala index 14b7c3f24a1a..5aa2f026f3af 100644 --- a/tests/neg-macros/i19842-a/Macro.scala +++ b/tests/neg-macros/i19842-a/Macro.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.annotation.{experimental, targetName} import scala.quoted.* import scala.util.Try diff --git a/tests/neg-macros/i19842-b.check b/tests/neg-macros/i19842-b.check index 29500e10fb25..dccfad04a562 100644 --- a/tests/neg-macros/i19842-b.check +++ b/tests/neg-macros/i19842-b.check @@ -11,7 +11,7 @@ | at dotty.tools.dotc.transform.TreeChecker$.checkParents(TreeChecker.scala:210) | at scala.quoted.runtime.impl.QuotesImpl$reflect$ClassDef$.module(QuotesImpl.scala:286) | at scala.quoted.runtime.impl.QuotesImpl$reflect$ClassDef$.module(QuotesImpl.scala:285) - | at Macros$.makeSerializer(Macro.scala:27) + | at Macros$.makeSerializer(Macro.scala:25) | |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace diff --git a/tests/neg-macros/i19842-b/Macro.scala b/tests/neg-macros/i19842-b/Macro.scala index 8b43faab76dd..138dbf515cc8 100644 --- a/tests/neg-macros/i19842-b/Macro.scala +++ b/tests/neg-macros/i19842-b/Macro.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.annotation.{experimental, targetName} import scala.quoted.* import scala.util.Try diff --git a/tests/neg-macros/newClassExtendsNoParents/Macro_1.scala b/tests/neg-macros/newClassExtendsNoParents/Macro_1.scala index 0a64bf320b72..5280ffba0f53 100644 --- a/tests/neg-macros/newClassExtendsNoParents/Macro_1.scala +++ b/tests/neg-macros/newClassExtendsNoParents/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted.* inline def makeClass(inline name: String): Any = ${ makeClassExpr('name) } diff --git a/tests/neg-macros/newClassExtendsNoParents/Test_2.scala b/tests/neg-macros/newClassExtendsNoParents/Test_2.scala index da8b3d84b522..eada3ba7e67a 100644 --- a/tests/neg-macros/newClassExtendsNoParents/Test_2.scala +++ b/tests/neg-macros/newClassExtendsNoParents/Test_2.scala @@ -1,3 +1 @@ -//> using options -experimental - def test: Any = makeClass("foo") // error diff --git a/tests/neg-macros/newClassExtendsOnlyTrait/Macro_1.scala b/tests/neg-macros/newClassExtendsOnlyTrait/Macro_1.scala index 6ced5bf34462..d1fd45399157 100644 --- a/tests/neg-macros/newClassExtendsOnlyTrait/Macro_1.scala +++ b/tests/neg-macros/newClassExtendsOnlyTrait/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted.* inline def makeClass(inline name: String): Foo = ${ makeClassExpr('name) } diff --git a/tests/neg-macros/newClassExtendsOnlyTrait/Test_2.scala b/tests/neg-macros/newClassExtendsOnlyTrait/Test_2.scala index 7bb465eae617..d8636c811214 100644 --- a/tests/neg-macros/newClassExtendsOnlyTrait/Test_2.scala +++ b/tests/neg-macros/newClassExtendsOnlyTrait/Test_2.scala @@ -1,3 +1 @@ -//> using options -experimental - def test: Foo = makeClass("foo") // error diff --git a/tests/neg-macros/newClassParamsMissingArgument.check b/tests/neg-macros/newClassParamsMissingArgument.check index 2a6b53bd2d79..b76c44191633 100644 --- a/tests/neg-macros/newClassParamsMissingArgument.check +++ b/tests/neg-macros/newClassParamsMissingArgument.check @@ -1,10 +1,10 @@ --- Error: tests/neg-macros/newClassParamsMissingArgument/Test_2.scala:4:2 ---------------------------------------------- -4 | makeClass("foo") // error // error +-- Error: tests/neg-macros/newClassParamsMissingArgument/Test_2.scala:2:2 ---------------------------------------------- +2 | makeClass("foo") // error // error | ^^^^^^^^^^^^^^^^ |wrong number of arguments at inlining (while expanding macro) for (idx: Int): foo: (foo# : (idx: Int): foo), expected: 1, found: 0 --- Error: tests/neg-macros/newClassParamsMissingArgument/Test_2.scala:4:11 --------------------------------------------- -4 | makeClass("foo") // error // error +-- Error: tests/neg-macros/newClassParamsMissingArgument/Test_2.scala:2:11 --------------------------------------------- +2 | makeClass("foo") // error // error | ^^^^^^^^^^^^^^^^ |Malformed tree was found while expanding macro with -Xcheck-macros. |The tree does not conform to the compiler's tree invariants. @@ -26,7 +26,7 @@ |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from Macro_1.scala:5 -5 |inline def makeClass(inline name: String): Object = ${ makeClassExpr('name) } + |This location contains code that was inlined from Macro_1.scala:3 +3 |inline def makeClass(inline name: String): Object = ${ makeClassExpr('name) } | ^^^^^^^^^^^^^^^^^^^^^^^^^ --------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg-macros/newClassParamsMissingArgument/Macro_1.scala b/tests/neg-macros/newClassParamsMissingArgument/Macro_1.scala index a0ee5a899e62..fa8cad89f506 100644 --- a/tests/neg-macros/newClassParamsMissingArgument/Macro_1.scala +++ b/tests/neg-macros/newClassParamsMissingArgument/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted._ inline def makeClass(inline name: String): Object = ${ makeClassExpr('name) } diff --git a/tests/neg-macros/newClassParamsMissingArgument/Test_2.scala b/tests/neg-macros/newClassParamsMissingArgument/Test_2.scala index 8d7142f7bd72..0b83e8f8ddea 100644 --- a/tests/neg-macros/newClassParamsMissingArgument/Test_2.scala +++ b/tests/neg-macros/newClassParamsMissingArgument/Test_2.scala @@ -1,5 +1,3 @@ -//> using options -experimental - @main def Test: Unit = { makeClass("foo") // error // error } diff --git a/tests/run-macros/newClass/Macro_1.scala b/tests/run-macros/newClass/Macro_1.scala index 0ad619c3d9c4..e7ae59c5331b 100644 --- a/tests/run-macros/newClass/Macro_1.scala +++ b/tests/run-macros/newClass/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted.* inline def makeClass(inline name: String): Any = ${ makeClassExpr('name) } diff --git a/tests/run-macros/newClass/Test_2.scala b/tests/run-macros/newClass/Test_2.scala index 8cf726d89d0b..6868674547fe 100644 --- a/tests/run-macros/newClass/Test_2.scala +++ b/tests/run-macros/newClass/Test_2.scala @@ -1,5 +1,3 @@ -//> using options -experimental - @main def Test: Unit = { val foo = makeClass("foo") println(foo.getClass) diff --git a/tests/run-macros/newClassAnnotation/Macro_1.scala b/tests/run-macros/newClassAnnotation/Macro_1.scala index c7631317675b..b5cbb001af74 100644 --- a/tests/run-macros/newClassAnnotation/Macro_1.scala +++ b/tests/run-macros/newClassAnnotation/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted.* import scala.annotation.StaticAnnotation diff --git a/tests/run-macros/newClassAnnotation/Test_2.scala b/tests/run-macros/newClassAnnotation/Test_2.scala index a824259eba09..b7a287b13434 100644 --- a/tests/run-macros/newClassAnnotation/Test_2.scala +++ b/tests/run-macros/newClassAnnotation/Test_2.scala @@ -1,5 +1,3 @@ -//> using options -experimental - @main def Test = val (cls, str) = makeClass("name") println(str) diff --git a/tests/run-macros/newClassExtends/Macro_1.scala b/tests/run-macros/newClassExtends/Macro_1.scala index 8b817f2674b2..99f639158761 100644 --- a/tests/run-macros/newClassExtends/Macro_1.scala +++ b/tests/run-macros/newClassExtends/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted.* inline def makeClass(inline name: String): Foo = ${ makeClassExpr('name) } diff --git a/tests/run-macros/newClassExtends/Test_2.scala b/tests/run-macros/newClassExtends/Test_2.scala index 6e902825fdc6..1db791749bab 100644 --- a/tests/run-macros/newClassExtends/Test_2.scala +++ b/tests/run-macros/newClassExtends/Test_2.scala @@ -1,5 +1,3 @@ -//> using options -experimental - @main def Test: Unit = { val foo: Foo = makeClass("foo") foo.foo() diff --git a/tests/run-macros/newClassExtendsClassParams/Macro_1.scala b/tests/run-macros/newClassExtendsClassParams/Macro_1.scala index 99e639e0aa4f..f6eebc9487e5 100644 --- a/tests/run-macros/newClassExtendsClassParams/Macro_1.scala +++ b/tests/run-macros/newClassExtendsClassParams/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted.* inline def makeClass(inline name: String): Foo = ${ makeClassExpr('name) } diff --git a/tests/run-macros/newClassExtendsClassParams/Test_2.scala b/tests/run-macros/newClassExtendsClassParams/Test_2.scala index 6e902825fdc6..1db791749bab 100644 --- a/tests/run-macros/newClassExtendsClassParams/Test_2.scala +++ b/tests/run-macros/newClassExtendsClassParams/Test_2.scala @@ -1,5 +1,3 @@ -//> using options -experimental - @main def Test: Unit = { val foo: Foo = makeClass("foo") foo.foo() diff --git a/tests/run-macros/newClassExtendsJavaClass/Macro_1.scala b/tests/run-macros/newClassExtendsJavaClass/Macro_1.scala index c342c78da796..49669f28d2fa 100644 --- a/tests/run-macros/newClassExtendsJavaClass/Macro_1.scala +++ b/tests/run-macros/newClassExtendsJavaClass/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted.* transparent inline def makeClass(inline name: String): JavaClass[Int] = ${ makeClassExpr('name) } diff --git a/tests/run-macros/newClassExtendsJavaClass/Main_2.scala b/tests/run-macros/newClassExtendsJavaClass/Main_2.scala index b41c22427c8e..ad39e59efa2b 100644 --- a/tests/run-macros/newClassExtendsJavaClass/Main_2.scala +++ b/tests/run-macros/newClassExtendsJavaClass/Main_2.scala @@ -1,5 +1,3 @@ -//> using options -experimental - @main def Test: Unit = { val cls = makeClass("foo") println(cls.getClass) diff --git a/tests/run-macros/newClassParams/Macro_1.scala b/tests/run-macros/newClassParams/Macro_1.scala index 6ec48e24ebe3..a4d67daf9e4e 100644 --- a/tests/run-macros/newClassParams/Macro_1.scala +++ b/tests/run-macros/newClassParams/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted._ inline def makeClassAndCall(inline name: String, idx: Int, str: String): Unit = ${ makeClassAndCallExpr('name, 'idx, 'str) } diff --git a/tests/run-macros/newClassParams/Test_2.scala b/tests/run-macros/newClassParams/Test_2.scala index 64762f17b92f..d58b0e5fffef 100644 --- a/tests/run-macros/newClassParams/Test_2.scala +++ b/tests/run-macros/newClassParams/Test_2.scala @@ -1,5 +1,3 @@ -//> using options -experimental - @main def Test: Unit = { makeClassAndCall("bar", 10, "test") } diff --git a/tests/run-macros/newClassParamsExtendsClassParams/Macro_1.scala b/tests/run-macros/newClassParamsExtendsClassParams/Macro_1.scala index de35a4dfa206..ea9691754fd6 100644 --- a/tests/run-macros/newClassParamsExtendsClassParams/Macro_1.scala +++ b/tests/run-macros/newClassParamsExtendsClassParams/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted._ inline def makeClass(inline name: String): Foo = ${ makeClassExpr('name) } diff --git a/tests/run-macros/newClassParamsExtendsClassParams/Test_2.scala b/tests/run-macros/newClassParamsExtendsClassParams/Test_2.scala index 6e902825fdc6..1db791749bab 100644 --- a/tests/run-macros/newClassParamsExtendsClassParams/Test_2.scala +++ b/tests/run-macros/newClassParamsExtendsClassParams/Test_2.scala @@ -1,5 +1,3 @@ -//> using options -experimental - @main def Test: Unit = { val foo: Foo = makeClass("foo") foo.foo() diff --git a/tests/run-macros/newClassSelf/Macro_1.scala b/tests/run-macros/newClassSelf/Macro_1.scala index 8562b814677d..864015c896f0 100644 --- a/tests/run-macros/newClassSelf/Macro_1.scala +++ b/tests/run-macros/newClassSelf/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted.* inline def makeClass(inline name: String): Bar = ${ makeClassExpr('name) } diff --git a/tests/run-macros/newClassSelf/Test_2.scala b/tests/run-macros/newClassSelf/Test_2.scala index 1c1f64fd20e3..0c6d522de58f 100644 --- a/tests/run-macros/newClassSelf/Test_2.scala +++ b/tests/run-macros/newClassSelf/Test_2.scala @@ -1,5 +1,3 @@ -//> using options -experimental - @main def Test: Unit = { val a: Bar = makeClass("A") a.bar() diff --git a/tests/run-macros/newClassTraitAndAbstract/Macro_1.scala b/tests/run-macros/newClassTraitAndAbstract/Macro_1.scala index 56cd320085db..267cca322567 100644 --- a/tests/run-macros/newClassTraitAndAbstract/Macro_1.scala +++ b/tests/run-macros/newClassTraitAndAbstract/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted.* transparent inline def makeTrait(inline name: String): Any = ${ makeTraitExpr('name) } diff --git a/tests/run-macros/newClassTraitAndAbstract/Test_2.scala b/tests/run-macros/newClassTraitAndAbstract/Test_2.scala index 5b6512a49010..374d909d609e 100644 --- a/tests/run-macros/newClassTraitAndAbstract/Test_2.scala +++ b/tests/run-macros/newClassTraitAndAbstract/Test_2.scala @@ -1,5 +1,3 @@ -//> using options -experimental - @main def Test: Unit = { val (cls1, show1) = makeTrait("foo") println(cls1.getClass) diff --git a/tests/run-macros/newClassTypeParams/Macro_1.scala b/tests/run-macros/newClassTypeParams/Macro_1.scala index 2efb31610c73..b10920e1809f 100644 --- a/tests/run-macros/newClassTypeParams/Macro_1.scala +++ b/tests/run-macros/newClassTypeParams/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted.* transparent inline def makeClass(inline name: String): Any = ${ makeClassExpr('name) } diff --git a/tests/run-macros/newClassTypeParams/Test_2.scala b/tests/run-macros/newClassTypeParams/Test_2.scala index 742c0f480a77..511509922dd0 100644 --- a/tests/run-macros/newClassTypeParams/Test_2.scala +++ b/tests/run-macros/newClassTypeParams/Test_2.scala @@ -1,5 +1,3 @@ -//> using options -experimental - @main def Test: Unit = { val (cls, show) = makeClass("foo") println(cls.getClass) diff --git a/tests/run-macros/newClassTypeParamsDoc/Macro_1.scala b/tests/run-macros/newClassTypeParamsDoc/Macro_1.scala index 9fb81e6f7348..c6d511fbc189 100644 --- a/tests/run-macros/newClassTypeParamsDoc/Macro_1.scala +++ b/tests/run-macros/newClassTypeParamsDoc/Macro_1.scala @@ -1,5 +1,3 @@ -//> using options -experimental - import scala.quoted.* transparent inline def makeClass(): Any = ${ makeClassExpr } diff --git a/tests/run-macros/newClassTypeParamsDoc/Test_2.scala b/tests/run-macros/newClassTypeParamsDoc/Test_2.scala index 318db32242fc..e75545ffff15 100644 --- a/tests/run-macros/newClassTypeParamsDoc/Test_2.scala +++ b/tests/run-macros/newClassTypeParamsDoc/Test_2.scala @@ -1,5 +1,3 @@ -//> using options -experimental - @main def Test: Unit = { println(makeClass()) } diff --git a/tests/run-tasty-inspector/stdlibExperimentalDefinitions.scala b/tests/run-tasty-inspector/stdlibExperimentalDefinitions.scala index 98f2c3a3c870..83b903e5cce9 100644 --- a/tests/run-tasty-inspector/stdlibExperimentalDefinitions.scala +++ b/tests/run-tasty-inspector/stdlibExperimentalDefinitions.scala @@ -66,14 +66,8 @@ val experimentalDefinitionInLibrary = Set( //// New APIs: Quotes // Can be stabilized in 3.5.0 (unsure) or later "scala.quoted.Quotes.reflectModule.CompilationInfoModule.XmacroSettings", - // Cant be stabilized yet. - // Need newClass variant that can add constructor parameters. - // Need experimental annotation macros to check that design works. - "scala.quoted.Quotes.reflectModule.ClassDefModule.apply", - "scala.quoted.Quotes.reflectModule.ClassDefModule.module", - "scala.quoted.Quotes.reflectModule.SymbolModule.newClass", - "scala.quoted.Quotes.reflectModule.SymbolModule.newModule", - "scala.quoted.Quotes.reflectModule.SymbolModule.freshName", + // Would need an asSeenFrom and ClassInfo added, which we generally do not want + // We need to think if this is necessary, and if so, think of an replacement "scala.quoted.Quotes.reflectModule.SymbolMethods.info", // Added for 3.6.0, stabilize after feedback. "scala.quoted.Quotes.reflectModule.SymbolModule.newBoundedType",