Skip to content

Commit cfdcdf9

Browse files
committed
[CSApply] Remove extraneous setExprTypes from pattern binding conditions
All the types are going to be introduced to the AST by `rewriteTarget`.
1 parent 40d1146 commit cfdcdf9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/CSApply.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9011,7 +9011,6 @@ ExprWalker::rewriteTarget(SolutionApplicationTarget target) {
90119011
if (!resolvedTarget)
90129012
return None;
90139013

9014-
solution.setExprTypes(resolvedTarget->getAsExpr());
90159014
condElement.setInitializer(resolvedTarget->getAsExpr());
90169015
condElement.setPattern(resolvedTarget->getInitializationPattern());
90179016
continue;

0 commit comments

Comments
 (0)