Skip to content

Commit 4d76319

Browse files
authored
Merge pull request #83392 from xedin/rdar-156896778
[Sema] Increase depth and count limits for opaque result type substit…
2 parents d25be61 + 7df58a7 commit 4d76319

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Basic/LangOptions.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,11 +614,11 @@ namespace swift {
614614

615615
/// Maximum nesting depth for type substitution operations, to prevent
616616
/// runaway recursion.
617-
unsigned MaxSubstitutionDepth = 50;
617+
unsigned MaxSubstitutionDepth = 1000;
618618

619619
/// Maximum step count for type substitution operations, to prevent
620620
/// runaway recursion.
621-
unsigned MaxSubstitutionCount = 2000;
621+
unsigned MaxSubstitutionCount = 32000;
622622

623623
/// Enable implicit lifetime dependence for ~Escapable return types.
624624
bool EnableExperimentalLifetimeDependenceInference = false;

0 commit comments

Comments
 (0)