mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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
9 lines
251 B
Swift
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() {}
|
|
}
|