Skip to content

Commit 192da54

Browse files
authored
Merge pull request #80450 from tshortli/fix-parentheses-warning
2 parents 75f4ca7 + 8819d6d commit 192da54

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/Sema/CodeSynthesisDistributedActor.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,8 +857,10 @@ 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 &&
861-
"order of fields MUST be exact.");
860+
// FIXME: This assertion was not asserting what it is designed to
861+
// assert and more work is needed to make it pass.
862+
// assert(idIdx < actorSystemIdx < unownedExecutorIdx &&
863+
// "order of fields MUST be exact.");
862864
}
863865
}
864866
}

0 commit comments

Comments
 (0)