[SR-7235] "nearly matches optional requirement" warning for correct function signature from protocol UICollectionViewDelegate #49783
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 4.2
Environment
swift-DEVELOPMENT-SNAPSHOT-2018-03-17-a.xctoolchain
iOS SDK from Xcode 9.2:
Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
Additional Detail from JIRA
md5: 422f3bbc92fab223281f16c055b6d033
relates to:
Issue Description:
The below code generates an unexpected warning as the function has a correct signature from UICollectionViewDelegate:
Full invocation and output:
The text was updated successfully, but these errors were encountered: