Files
swift-mirror/test/SourceKit/Inputs/concurrency/gen_concurrency.swift
Rintaro Ishizaki b6119018d7 [SourceKit] Print custom attributes in interface-gen requests
Custom attributes were not printed because they are marked
'UserInaccesible'.

* Make CustomAttr 'RejectByParser' instead of 'UserInaccessible'
* Remove special treatment for Result Builder attributes
* Load implicit modules in module/header interface gen requests

rdar://79927502
2022-03-02 11:05:26 -08:00

9 lines
251 B
Swift

class ClassWithAsyncAndHandler {
@available(*, renamed: "foo(_:)")
func foo(_ operation: String, completionHandler handler: @escaping (Int) -> Void) {}
func foo(_ operation: String) async -> Int { 0 }
@MainActor
func mainActorMethod() {}
}