Skip to content

Commit 1a8a67e

Browse files
committed
[TypeChecker] NFC: Bring back SolverShrinkUnsolvedThreshold
1 parent 7c68a31 commit 1a8a67e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/swift/Basic/LangOptions.h

+4
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,10 @@ namespace swift {
906906
/// is for testing purposes.
907907
std::vector<std::string> DebugForbidTypecheckPrefixes;
908908

909+
/// The upper bound to number of sub-expressions unsolved
910+
/// before termination of the shrink phrase of the constraint solver.
911+
unsigned SolverShrinkUnsolvedThreshold = 10;
912+
909913
/// Enable experimental operator designated types feature.
910914
bool EnableOperatorDesignatedTypes = false;
911915

0 commit comments

Comments
 (0)