Skip to content

Commit 463de11

Browse files
committed
Remove experimental annotations
1 parent 339534f commit 463de11

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

Diff for: library/src/scala/quoted/Expr.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ object Expr {
291291
* @note if the found given requires additional search for other given instances,
292292
* this additional search will NOT exclude the symbols from the `ignored` list.
293293
*/
294-
@scala.annotation.experimental def summonIgnoring[T](using Type[T])(using quotes: Quotes)(ignored: quotes.reflect.Symbol*): Option[Expr[T]] = {
294+
def summonIgnoring[T](using Type[T])(using quotes: Quotes)(ignored: quotes.reflect.Symbol*): Option[Expr[T]] = {
295295
import quotes.reflect._
296296
Implicits.searchIgnoring(TypeRepr.of[T])(ignored*) match {
297297
case iss: ImplicitSearchSuccess => Some(iss.tree.asExpr.asInstanceOf[Expr[T]])

Diff for: library/src/scala/quoted/Quotes.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -3716,7 +3716,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
37163716
* @note if an found given requires additional search for other given instances,
37173717
* this additional search will NOT exclude the symbols from the `ignored` list.
37183718
*/
3719-
@experimental def searchIgnoring(tpe: TypeRepr)(ignored: Symbol*): ImplicitSearchResult
3719+
def searchIgnoring(tpe: TypeRepr)(ignored: Symbol*): ImplicitSearchResult
37203720
}
37213721

37223722
/** Result of a given instance search */

Diff for: project/MiMaFilters.scala

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ object MiMaFilters {
9595
ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#MethodTypeModule.apply"),
9696
ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#MethodTypeMethods.methodTypeKind"),
9797
ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#MethodTypeMethods.isContextual"),
98+
ProblemFilters.exclude[ReversedMissingMethodProblem]("scala.quoted.Quotes#reflectModule#ImplicitsModule.searchIgnoring"),
9899
// Change `experimental` annotation to a final class
99100
ProblemFilters.exclude[FinalClassProblem]("scala.annotation.experimental"),
100101
),

Diff for: tests/run-tasty-inspector/stdlibExperimentalDefinitions.scala

-3
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ val experimentalDefinitionInLibrary = Set(
6666
// Added for 3.6.0, stabilize after feedback.
6767
"scala.quoted.Quotes.reflectModule.SymbolModule.newBoundedType",
6868
"scala.quoted.Quotes.reflectModule.SymbolModule.newTypeAlias",
69-
// Added for 3.7.0, stabilise after feedback
70-
"scala.quoted.Quotes.reflectModule.ImplicitsModule.searchIgnoring",
71-
"scala.quoted.Expr$.summonIgnoring",
7269

7370
// New feature: functions with erased parameters.
7471
// Need erasedDefinitions enabled.

0 commit comments

Comments
 (0)