It is unclear to me, if you plan to allow re-labelling, during the shadowing process.
Be shadowed as either (if one disregard the API Guideline)
If the import got the function name wrong, and missed the annotations like @noescape; it may also mislabel the parameters.
Le 14 avr. 2016 à 11:28, Антон Жилин via swift-evolution <email@example.com> a écrit :
As promised, I've created a proposal to add @shadowing attribute. Link to the proposal:
// Imported function (implicit declaration)
func dispatch_sync(queue: dispatch_queue_t, block: (@convention(block) () -> Void)!)
func sync(queue: dispatch_queue_t, @noescape block: @convention(block) () -> Void)