From 233b334a47014bf8c2112593bcb28182ed6e9cf4 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Wed, 17 Sep 2025 14:50:39 -0400 Subject: [PATCH] Sema: Enable prepared overloads by default This can be turned off with -solver-disable-prepared-overloads. --- include/swift/Basic/LangOptions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/swift/Basic/LangOptions.h b/include/swift/Basic/LangOptions.h index 8c4eb2475fbc5..5dd1e36343618 100644 --- a/include/swift/Basic/LangOptions.h +++ b/include/swift/Basic/LangOptions.h @@ -1021,7 +1021,7 @@ namespace swift { bool SolverDisableSplitter = false; /// Enable the experimental "prepared overloads" optimization. - bool SolverEnablePreparedOverloads = false; + bool SolverEnablePreparedOverloads = true; }; /// Options for controlling the behavior of the Clang importer.