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