[SR-6220] Optional promotion when conforming to protocol #48772
Labels
compiler
The Swift compiler in itself
conformances
Feature → protocol: protocol conformances
duplicate
Resolution: Duplicates another issue
feature
A feature request or implementation
improvement
protocol
Feature → type declarations: Protocol declarations
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: d24c5a23d286cac2400b7421dc2fef35
duplicates:
Issue Description:
I was expecting this to work:
S
already has aninit(int: Int)
and avar int: Int { get }
that could be used as implementations forIntConvertible
.The text was updated successfully, but these errors were encountered: