[SR-7405] Protocol compositions: improve composing diagnostics #49948
Labels
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
improvement
Environment
Xcode 9.2, Xcode 9.3 (9E145), Xcode 9.4 beta
Additional Detail from JIRA
md5: a5014aa2b07f08f1fa957bb4660b5a8d
relates to:
Issue Description:
Although apparently they aren't harmful, in Xcode 9.4 (Swift 4.1) the following cases do not produce warnings. Some of them do produce warnings in Xcode 9.2 (Swift 4) together with the error "Protocol-constrained type is neither allowed nor needed here". I suggest to show warnings in all these cases:
The text was updated successfully, but these errors were encountered: