Skip to content

Commit 9147adc

Browse files
committed
[CS] Upgrade an assert
1 parent bb877ce commit 9147adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/TypeOfReference.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2483,7 +2483,7 @@ void ConstraintSystem::bindOverloadType(const SelectedOverload &overload,
24832483
return constraint->getKind() == ConstraintKind::ApplicableFunction;
24842484
});
24852485

2486-
assert(constraints.size() == 1);
2486+
ASSERT(constraints.size() == 1);
24872487
auto *applicableFn = constraints.front();
24882488
retireConstraint(applicableFn);
24892489

0 commit comments

Comments
 (0)