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-1210] Crash in libobjc when class's first stored property's type is not Objective-C compatible #391

Closed
swift-ci opened this issue Apr 12, 2016 · 1 comment

Comments

@swift-ci
Copy link

Previous ID SR-1210
Radar rdar://25330746
Original Reporter jscampbell05 (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, Runtime, XCTest
Assignee None
Priority Medium

md5: b213bcd9c5df78252fb449d45383a46e

duplicates:

  • SR-1055 Crash in libobjc when class's first stored property's type is not Objective-C compatible

Issue Description:

It seems that there is a case where https://bugs.swift.org/browse/SR-1055 can still occur.

In the final version of Swift 2.2 and Xcode 7.3 I still have a crash if the first property of a class is a enum.

In my class it finished with some lazy properties which held a class, moving these before the enum property fixed the issue. This crash occurred whilst running my Unit Tests and the XCTest framework was searching for subclasses in the runtime in order to detect the tests to run.

@belkadan
Copy link

That fix didn't make it into Xcode 7.3. If there's a 2.2.1, it'll show up there.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants