[SR-8357] Warn on methods in protocol extensions that are not defaults for requirements of the protocol but would be defaults of some parent protocol #50885
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: 21345fc9adac7d598e0fbf5e6182e60e
relates to:
Issue Description:
We should warn if a protocol extension implements a method that would be a default implementation of a method in a protocol that this protocol extends (but for which this protocol does not declare the same requirement).
e.g.
See https://bugs.swift.org/browse/SR-8022 for motivation.
The text was updated successfully, but these errors were encountered: