Skip to content

Commit 54bfa59

Browse files
committed
[CS] Suppress a no-asserts warning
1 parent 5d7fb48 commit 54bfa59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Sema/ConstraintSystem.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2357,6 +2357,7 @@ void ConstraintSystem::resolveOverload(ConstraintLocator *locator,
23572357
auto overload = SelectedOverload{choice, openedFullType, refType, boundType};
23582358
auto result = ResolvedOverloads.insert({locator, overload});
23592359
assert(result.second && "Already resolved this overload?");
2360+
(void)result;
23602361

23612362
// In some cases we already created the appropriate bind constraints.
23622363
if (!bindConstraintCreated) {

0 commit comments

Comments
 (0)