mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This patch updates the `actor class` spelling to `actor` in almost all of the tests. There are places where I verify that we sanely handle `actor` as an attribute though. These include: - test/decl/class/actor/basic.swift - test/decl/protocol/special/Actor.swift - test/SourceKit/CursorInfo/cursor_info_concurrency.swift - test/attr/attr_objc_async.swift - test/ModuleInterface/actor_protocol.swift
11 lines
224 B
Swift
11 lines
224 B
Swift
@globalActor public final class MeowActor {
|
|
public static let shared = _Impl()
|
|
|
|
public actor _Impl {
|
|
@actorIndependent
|
|
public func enqueue(partialTask: PartialAsyncTask) {
|
|
// DOES NOTHING! :)
|
|
}
|
|
}
|
|
}
|