[SR-6970] The flatMap() deprecation warning in Swift 4.1 doesn't specify version number #49518
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: e7313a190de8c10a8076466706410906
Issue Description:
The deprecation warning for flatMap() doesn't specify which version of Swift the change takes effect from:
This makes it impossible to write a polyfill for older Swift versions (such as the code below) without triggering the warning in Xcode 9.3:
The text was updated successfully, but these errors were encountered: