[SR-7997] Source compatibility (4.1 -> 4.2) when multiple properties have the same name #50530
Labels
access control
Feature → modifiers: Access control and access levels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 4.2
Attachment: Download
Environment
Xcode 10 (beta 1)
Additional Detail from JIRA
md5: 2bffeaa3a20b70d3693e0fa543873aba
Issue Description:
Trying to compile a project with Xcode 10 beta gives a compiler error.
The issue comes from using TTTAttributedLabel as it redefines the "text" property from UILabel. TTTAttributedLabel/TTTAttributedLabel/blob/master/TTTAttributedLabel/TTTAttributedLabel.h#L77
@belkadan provided some context in the forum https://forums.swift.org/t/swift-4-2-source-compatibility/
I attached a sample project with the issue.
The project compiles fine in Xcode 9.4 but fails in Xcode 10.
The text was updated successfully, but these errors were encountered: