SR-1621 Protocol extension var { get } override implementation's let when type is implicit.
Issue Description:
Expected results:
Property overloading should work as well as method overloading. Declaring two variables with the same name but different types on an object should work.
Actual results:
Property overloading fails with the error message: "Invalid redeclaration of '\<propertyName>'".
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, LanguageFeatureRequest | |Assignee | None | |Priority | Medium | md5: aafc357a03d201129bcb102591e19466relates to:
var { get }
override implementation'slet
when type is implicit.Issue Description:
Expected results:
Property overloading should work as well as method overloading. Declaring two variables with the same name but different types on an object should work.
Actual results:
Property overloading fails with the error message: "Invalid redeclaration of '\<propertyName>'".
Reproducible test case:
Note if you find/replace "var something:" with "func something() ->", the code compiles.
Environment: Xcode 8.2.1 (8C1002) – Swift 3