Files
swift-mirror/test/Serialization/Inputs/caller_inheriting_isolation.swift
Pavel Yaskevich 07ff063ae3 [AST/ASTGen/Sema/Serialization] Remove @execution attribute
Complete the transition from `@execution` to `@concurrent` and `nonisolated(nonsending)`
2025-04-11 15:59:25 -07:00

48 lines
939 B
Swift

public func unspecifiedAsync<T>(_ t: T) async {
}
nonisolated(nonsending)
public func unspecifiedAsyncCaller<T>(_ t: T) async {
}
@concurrent
public func unspecifiedAsyncConcurrent<T>(_ t: T) async {
}
nonisolated public func nonisolatedAsync<T>(_ t: T) async {
}
nonisolated(nonsending)
public func nonisolatedAsyncCaller<T>(_ t: T) async {
}
@concurrent
nonisolated public func nonisolatedAsyncConcurrent<T>(_ t: T) async {
}
public struct S {
public init() {}
public func unspecifiedAsync<T>(_ t: T) async {
}
nonisolated(nonsending)
public func unspecifiedAsyncCaller<T>(_ t: T) async {
}
@concurrent
public func unspecifiedAsyncConcurrent<T>(_ t: T) async {
}
nonisolated public func nonisolatedAsync<T>(_ t: T) async {
}
nonisolated(nonsending)
public func nonisolatedAsyncCaller<T>(_ t: T) async {
}
@concurrent
nonisolated public func nonisolatedAsyncConcurrent<T>(_ t: T) async {
}
}