File tree 3 files changed +2
-6
lines changed
tests/run-tasty-inspector
3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -4318,16 +4318,14 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
4318
4318
* - ...
4319
4319
* - Nth element is `FunctionN`
4320
4320
*/
4321
- // TODO: deprecate in 3.4 and stabilize FunctionClass(Int)/FunctionClass(Int,Boolean)
4322
- // @deprecated("Use overload of `FunctionClass` with 1 or 2 arguments","3.4")
4321
+ @ deprecated(" Use overload of `FunctionClass` with 1 or 2 arguments" ," 3.4" )
4323
4322
def FunctionClass (arity : Int , isImplicit : Boolean = false , isErased : Boolean = false ): Symbol
4324
4323
4325
4324
/** Class symbol of a function class `scala.FunctionN`.
4326
4325
*
4327
4326
* @param arity the arity of the function where `0 <= arity`
4328
4327
* @return class symbol of `scala.FunctionN` where `N == arity`
4329
4328
*/
4330
- @ experimental
4331
4329
def FunctionClass (arity : Int ): Symbol
4332
4330
4333
4331
/** Class symbol of a context function class `scala.FunctionN` or `scala.ContextFunctionN`.
@@ -4336,7 +4334,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
4336
4334
* @param isContextual if it is a `scala.ContextFunctionN`
4337
4335
* @return class symbol of `scala.FunctionN` or `scala.ContextFunctionN` where `N == arity`
4338
4336
*/
4339
- @ experimental
4340
4337
def FunctionClass (arity : Int , isContextual : Boolean ): Symbol
4341
4338
4342
4339
/** The `scala.PolyFunction` built-in trait. */
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ object MiMaFilters {
6
6
// New API in 3.4.X
7
7
ProblemFilters .exclude[ReversedMissingMethodProblem ](" scala.quoted.Quotes#reflectModule.ValOrDefDefTypeTest" ),
8
8
ProblemFilters .exclude[ReversedMissingMethodProblem ](" scala.quoted.Quotes#reflectModule.ValOrDefDefMethods" ),
9
+ ProblemFilters .exclude[ReversedMissingMethodProblem ](" scala.quoted.Quotes#reflectModule#defnModule.FunctionClass" )
9
10
// New API in 3.4.X
10
11
)
11
12
val TastyCore : Seq [ProblemFilter ] = Seq (
Original file line number Diff line number Diff line change @@ -68,8 +68,6 @@ val experimentalDefinitionInLibrary = Set(
68
68
" scala.annotation.init$.region" ,
69
69
70
70
// // New APIs: Quotes
71
- // Should be stabilized in 3.4.0
72
- " scala.quoted.Quotes.reflectModule.defnModule.FunctionClass" ,
73
71
" scala.quoted.Quotes.reflectModule.FlagsModule.AbsOverride" ,
74
72
// Can be stabilized in 3.4.0 (unsure) or later
75
73
" scala.quoted.Quotes.reflectModule.CompilationInfoModule.XmacroSettings" ,
You can’t perform that action at this time.
0 commit comments