mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Always dump input of distributed_actor_executor_ast.swift
This test likes to fail once in a blue moon and we don't have enough information to debug when those happen. Dump the entire input in case the failure happens again.
This commit is contained in:
committed by
GitHub
parent
acc465d3b9
commit
ecb9df18bf
@@ -1,6 +1,6 @@
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: %target-swift-frontend-emit-module -emit-module-path %t/FakeDistributedActorSystems.swiftmodule -module-name FakeDistributedActorSystems -disable-availability-checking %S/Inputs/FakeDistributedActorSystems.swift
|
||||
// RUN: %target-build-swift -module-name main -Xfrontend -disable-availability-checking -j2 -parse-as-library -typecheck -dump-ast -I %t %s %S/Inputs/FakeDistributedActorSystems.swift 2>&1 | %FileCheck %s --dump-input=fail
|
||||
// RUN: %target-build-swift -module-name main -Xfrontend -disable-availability-checking -j2 -parse-as-library -typecheck -dump-ast -I %t %s %S/Inputs/FakeDistributedActorSystems.swift 2>&1 | %FileCheck %s --dump-input=always
|
||||
|
||||
// REQUIRES: concurrency
|
||||
// REQUIRES: distributed
|
||||
@@ -41,4 +41,4 @@ distributed actor DefaultWorker {
|
||||
// Check the default executor synthesis for local actor otherwise:
|
||||
// CHECK: (return_stmt implicit
|
||||
// CHECK: (call_expr implicit type='Builtin.Executor' nothrow
|
||||
// CHECK: (declref_expr implicit type='(DefaultWorker) -> Builtin.Executor' decl=Builtin.(file).buildDefaultActorExecutorRef [with (substitution_map generic_signature=<T where T : AnyObject> (substitution T -> DefaultWorker))] function_ref=unapplied)
|
||||
// CHECK: (declref_expr implicit type='(DefaultWorker) -> Builtin.Executor' decl=Builtin.(file).buildDefaultActorExecutorRef [with (substitution_map generic_signature=<T where T : AnyObject> (substitution T -> DefaultWorker))] function_ref=unapplied)
|
||||
|
||||
Reference in New Issue
Block a user