@@ -493,7 +493,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
493493 * @param body List of members of the class. The members must align with the members of `cls`.
494494 */
495495 // TODO add selfOpt: Option[ValDef]?
496- @ experimental def apply (cls : Symbol , parents : List [Tree /* Term | TypeTree */ ], body : List [Statement ]): ClassDef
496+ // ^ if a use-case shows up, we add this via an overloaded method
497+ def apply (cls : Symbol , parents : List [Tree /* Term | TypeTree */ ], body : List [Statement ]): ClassDef
497498 def copy (original : Tree )(name : String , constr : DefDef , parents : List [Tree /* Term | TypeTree */ ], selfOpt : Option [ValDef ], body : List [Statement ]): ClassDef
498499 def unapply (cdef : ClassDef ): (String , DefDef , List [Tree /* Term | TypeTree */ ], Option [ValDef ], List [Statement ])
499500
@@ -518,7 +519,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
518519 * @syntax markdown
519520 */
520521 // TODO add selfOpt: Option[ValDef]?
521- @ experimental def module (module : Symbol , parents : List [Tree /* Term | TypeTree */ ], body : List [Statement ]): (ValDef , ClassDef )
522+ // ^ if a use-case shows up, we can add this via an overloaded method
523+ def module (module : Symbol , parents : List [Tree /* Term | TypeTree */ ], body : List [Statement ]): (ValDef , ClassDef )
522524 }
523525
524526 /** Makes extension methods on `ClassDef` available without any imports */
@@ -3878,7 +3880,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
38783880 * @note As a macro can only splice code into the point at which it is expanded, all generated symbols must be
38793881 * direct or indirect children of the reflection context's owner.
38803882 */
3881- @ experimental def newClass (owner : Symbol , name : String , parents : List [TypeRepr ], decls : Symbol => List [Symbol ], selfType : Option [TypeRepr ]): Symbol
3883+ def newClass (owner : Symbol , name : String , parents : List [TypeRepr ], decls : Symbol => List [Symbol ], selfType : Option [TypeRepr ]): Symbol
38823884
38833885 /** Generates a new class symbol for a class with a public single term clause constructor.
38843886 *
@@ -3936,7 +3938,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
39363938 * @note As a macro can only splice code into the point at which it is expanded, all generated symbols must be
39373939 * direct or indirect children of the reflection context's owner.
39383940 */
3939- @ experimental def newClass (
3941+ def newClass (
39403942 owner : Symbol ,
39413943 name : String ,
39423944 parents : Symbol => List [TypeRepr ],
@@ -4038,7 +4040,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
40384040 */
40394041 // Keep doc aligned with QuotesImpl's validFlags: `clsFlags` with `validClassFlags`, `conFlags` with `validClassConstructorFlags`,
40404042 // conParamFlags with `validClassTypeParamFlags` and `validClassTermParamFlags`
4041- @ experimental def newClass (
4043+ def newClass (
40424044 owner : Symbol ,
40434045 name : String ,
40444046 parents : Symbol => List [TypeRepr ],
@@ -4110,7 +4112,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
41104112 *
41114113 * @syntax markdown
41124114 */
4113- @ experimental def newModule (owner : Symbol , name : String , modFlags : Flags , clsFlags : Flags , parents : Symbol => List [TypeRepr ], decls : Symbol => List [Symbol ], privateWithin : Symbol ): Symbol
4115+ def newModule (owner : Symbol , name : String , modFlags : Flags , clsFlags : Flags , parents : Symbol => List [TypeRepr ], decls : Symbol => List [Symbol ], privateWithin : Symbol ): Symbol
41144116
41154117 /** Generates a new method symbol with the given parent, name and type.
41164118 *
@@ -4225,7 +4227,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
42254227 *
42264228 * @param prefix Prefix of the fresh name
42274229 */
4228- @ experimental
42294230 def freshName (prefix : String ): String
42304231 }
42314232
0 commit comments