Navigation Menu

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-8410] Swift Classes with Custom Objective C Class Names Not Visible to Swift #50935

Closed
swift-ci opened this issue Jul 30, 2018 · 0 comments
Closed
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-8410
Radar None
Original Reporter lillytong (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate

Attachment: Download

Environment

iOS: 11.4

Xcode: 9.4.1

Swift: 4.1

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: d69b3bc0a8e2a5805390df85dec07215

duplicates:

  • SR-4827 Incorrect result resolving type for Obj-C block

Issue Description:

In a mixed Swift/Objective-C Project:

1. Declare Class A in Objective C, with two forward class declarations

2. Declare Class B in swift

3. Declare Class C in swift, with custom Objective-C name OCClassC

4. In another swift file, create instance of ClassA and try to access its properties. observe: ClassB instance is found, but ClassC instance is not found.

Expected: Should be able to access both properties a.b and a.c

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

1 participant