Skip to content

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Jan 21, 2025

Tweak the logic for when we use the runtime-internal swift_getErrorValue() function in our _swift_willThrow handler so that we use it if the runtime does not support Objective-C interop. Currently, we toggle based on whether we're on an Apple platform, but this isn't quite right.

Resolves rdar://143328537.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

Tweak the logic for when we use the runtime-internal `swift_getErrorValue()`
function in our `_swift_willThrow` handler so that we use it if the runtime does
not support Objective-C interop. Currently, we toggle based on whether we're on
an Apple platform, but this isn't quite right.

Resolves rdar://143328537.
@grynspan grynspan added bug 🪲 Something isn't working darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support embedded-swift 📟 Embedded Swift issues issue-handling Related to Issue handling within the testing library labels Jan 21, 2025
@grynspan grynspan added this to the Swift 6.x milestone Jan 21, 2025
@grynspan grynspan self-assigned this Jan 21, 2025
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan merged commit faaabba into main Jan 22, 2025
3 checks passed
@grynspan grynspan deleted the jgrynspan/143328537-backtrace-error-casting branch January 22, 2025 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support embedded-swift 📟 Embedded Swift issues issue-handling Related to Issue handling within the testing library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants