diff --git a/lib/Sema/CodeSynthesisDistributedActor.cpp b/lib/Sema/CodeSynthesisDistributedActor.cpp index b25d22a7e22b1..1bd4b6e545859 100644 --- a/lib/Sema/CodeSynthesisDistributedActor.cpp +++ b/lib/Sema/CodeSynthesisDistributedActor.cpp @@ -857,8 +857,10 @@ void swift::assertRequiredSynthesizedPropertyOrder(ASTContext &Context, } if (idIdx + actorSystemIdx + unownedExecutorIdx >= 0 + 1 + 2) { // we have found all the necessary fields, let's assert their order - assert(idIdx < actorSystemIdx < unownedExecutorIdx && - "order of fields MUST be exact."); + // FIXME: This assertion was not asserting what it is designed to + // assert and more work is needed to make it pass. +// assert(idIdx < actorSystemIdx < unownedExecutorIdx && +// "order of fields MUST be exact."); } } }