Skip to content

Commit ed02492

Browse files
committed
Deprecate 3-arg FunctionClass constructor
1 parent ba88bf6 commit ed02492

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

library/src/scala/quoted/Quotes.scala

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4318,16 +4318,14 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
43184318
* - ...
43194319
* - Nth element is `FunctionN`
43204320
*/
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")
43234322
def FunctionClass(arity: Int, isImplicit: Boolean = false, isErased: Boolean = false): Symbol
43244323

43254324
/** Class symbol of a function class `scala.FunctionN`.
43264325
*
43274326
* @param arity the arity of the function where `0 <= arity`
43284327
* @return class symbol of `scala.FunctionN` where `N == arity`
43294328
*/
4330-
@experimental
43314329
def FunctionClass(arity: Int): Symbol
43324330

43334331
/** Class symbol of a context function class `scala.FunctionN` or `scala.ContextFunctionN`.
@@ -4336,7 +4334,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
43364334
* @param isContextual if it is a `scala.ContextFunctionN`
43374335
* @return class symbol of `scala.FunctionN` or `scala.ContextFunctionN` where `N == arity`
43384336
*/
4339-
@experimental
43404337
def FunctionClass(arity: Int, isContextual: Boolean): Symbol
43414338

43424339
/** The `scala.PolyFunction` built-in trait. */

0 commit comments

Comments
 (0)