File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2229,7 +2229,7 @@ FunctionType::ExtInfo ConstraintSystem::closureEffects(ClosureExpr *expr) {
2229
2229
// Okay, resolve the pattern.
2230
2230
Pattern *pattern = LabelItem.getPattern ();
2231
2231
if (!LabelItem.isPatternResolved ()) {
2232
- pattern = TypeChecker::resolvePattern (pattern, CS. DC ,
2232
+ pattern = TypeChecker::resolvePattern (pattern, DC,
2233
2233
/* isStmtCondition*/ false );
2234
2234
if (!pattern) return false ;
2235
2235
@@ -2244,7 +2244,7 @@ FunctionType::ExtInfo ConstraintSystem::closureEffects(ClosureExpr *expr) {
2244
2244
Type castType;
2245
2245
if (auto castTypeRepr = isp->getCastTypeRepr ()) {
2246
2246
castType = TypeResolution::forContextual (
2247
- CS. DC , TypeResolverContext::InExpression,
2247
+ DC, TypeResolverContext::InExpression,
2248
2248
/* unboundTyOpener*/ nullptr )
2249
2249
.resolveType (castTypeRepr);
2250
2250
} else {
You can’t perform that action at this time.
0 commit comments