[SR-6419] NotificationCenter.addObserver
of SCLF with trailing closure syntax cannot be used on Swift 4.0.2
#3786
Labels
Additional Detail from JIRA
md5: 1cb775e2d2830c261d8a0e8e57a0fbcd
Issue Description:
In Swift 4.0.2
NotificationCenter.addObserver(forName:object:queue:usingBlock🙂
is renamed toaddObserver(forName:object:queue:using🙂
and the old API is kept as an obsoleted API. The obsoleted symbol makes it ambiguous to use the API with trailing closure syntax:This is found at Quick/Nimble#481
Usually we don't keep old (pre-renamed) symbols (e.g. #1315 so the obsoleted API should be removed to make it unambiguous.
The text was updated successfully, but these errors were encountered: