mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Concurrency] Remove asyncHandler attribute.
The `asyncHandler` attribute turned out to be the wrong solution to the problem of creating a sync->async bridge. Remove it.
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
// REQUIRES: VENDOR=apple
|
||||
// REQUIRES: concurrency
|
||||
// RUN: %target-swift-frontend -emit-ir %s -enable-experimental-concurrency -enable-experimental-async-handler -validate-tbd-against-ir=all -module-name test | %FileCheck %s
|
||||
|
||||
// CHECK: @"$s4test6testityyYaFTu" = hidden global %swift.async_func_pointer
|
||||
|
||||
@asyncHandler
|
||||
public func testit() { }
|
||||
// RUN: %target-swift-frontend -emit-ir %s -enable-experimental-concurrency -validate-tbd-against-ir=all -module-name test | %FileCheck %s
|
||||
|
||||
// CHECK: @barTu = global %swift.async_func_pointer
|
||||
@_silgen_name("bar")
|
||||
|
||||
Reference in New Issue
Block a user