Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-7997] Source compatibility (4.1 -> 4.2) when multiple properties have the same name #50530

Open
alexito4 opened this issue Jun 14, 2018 · 1 comment
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

Comments

@alexito4
Copy link

Previous ID SR-7997
Radar rdar://problem/41161407
Original Reporter @alexito4
Type Bug

Attachment: Download

Environment

Xcode 10 (beta 1)

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, 4.2Regression
Assignee None
Priority Medium

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.

@belkadan
Copy link
Contributor

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added regression swift 4.2 access control Feature → modifiers: Access control and access levels and removed 4.2 regression labels Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants