Skip to content

Commit cdc2145

Browse files
committed
Sema: Use existing utility function
1 parent 6c2e4ec commit cdc2145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/ConstraintGraph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@ bool ConstraintGraph::contractEdges() {
12821282
continue;
12831283

12841284
// This closure is not currently in scope.
1285-
if (!CS.TypeVariables.count(paramTy))
1285+
if (!CS.isActiveTypeVariable(paramTy))
12861286
break;
12871287

12881288
// Nothing to contract here since outside parameter

0 commit comments

Comments
 (0)