Skip to content

Commit 168b20e

Browse files
committed
Sema: Address a -Wparentheses warning.
1 parent f09aaa9 commit 168b20e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CodeSynthesisDistributedActor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ void swift::assertRequiredSynthesizedPropertyOrder(ASTContext &Context,
857857
}
858858
if (idIdx + actorSystemIdx + unownedExecutorIdx >= 0 + 1 + 2) {
859859
// we have found all the necessary fields, let's assert their order
860-
assert(idIdx < actorSystemIdx < unownedExecutorIdx &&
860+
assert(idIdx < actorSystemIdx && actorSystemIdx < unownedExecutorIdx &&
861861
"order of fields MUST be exact.");
862862
}
863863
}

0 commit comments

Comments
 (0)