File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 11// RUN: %target-swift-frontend -typecheck -verify -disable-availability-checking -strict-concurrency=complete -enable-experimental-feature IsolatedAny -enable-upcoming-feature InferSendableFromCaptures %s
22
3+ // REQUIRES: asserts
4+
35func globalNonisolatedFunction( ) { }
46@MainActor func globalMainActorFunction( ) { }
57
Original file line number Diff line number Diff line change 11// RUN: %target-typecheck-verify-swift -enable-experimental-feature IsolatedAny
22
3+ // REQUIRES: asserts
4+
35typealias FnType = @isolated ( any) ( ) -> ( )
46
57func testInParameter( function: @isolated ( any) ( ) -> ( ) ) { }
Original file line number Diff line number Diff line change 11// RUN: %target-swift-frontend -emit-silgen -enable-experimental-feature IsolatedAny %s -module-name test -swift-version 5 -disable-availability-checking | %FileCheck %s
22// REQUIRES: concurrency
3+ // REQUIRES: asserts
34
45// CHECK-LABEL: sil hidden [ossa] @$s4test8callSync2fnyyyYAXE_tYaF
56// CHECK: [[NIL_EXECUTOR:%.*]] = enum $Optional<Builtin.Executor>, #Optional.none
You can’t perform that action at this time.
0 commit comments