As promised, I've created a proposal to add @shadowing attribute. Link to the proposal:
https://github.com/Anton3/swift-evolution/blob/shadowing-imported-functions/proposals/NNNN-shadowing-imported-functions.md Example: // Imported function (implicit declaration)func dispatch_sync(queue: dispatch_queue_t, block: (@convention(block) () -> Void)!) @shadowing(dispatch_sync(queue, block))func sync(queue: dispatch_queue_t, @noescape block: @convention(block) () -> Void) - Anton
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
