Skip to content

Avoid a false positive assertion error (NFC in NDEBUG) #2431

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

Conversation

adrian-prantl
Copy link

The try-to-interpret-objc-objects-as-swift patch triggers an assertion
in the SwiftLanguageRuntime in pure Objective-C programs, which can be
avoided by not calling GetDynamicTypeAndAddress() if no Swift language
runtime has been initialized.

(cherry picked from commit 19c0fb5)

The try-to-interpret-objc-objects-as-swift patch triggers an assertion
in the SwiftLanguageRuntime in pure Objective-C programs, which can be
avoided by not calling GetDynamicTypeAndAddress() if no Swift language
runtime has been initialized.

(cherry picked from commit 19c0fb5)
@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl adrian-prantl merged commit 598f8c2 into swiftlang:swift/release/5.4 Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant