Skip to content

[Concurrency] Fix signature mismatch of _startTaskOnMainActor #66545

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

kateinoigakukun
Copy link
Member

The function is defined in Task.cpp with a void return type, but referenced in Task.swift with an pointer return type.
Here is the definition site:
https://github.com/apple/swift/blob/4e2f3b1c8c3c32c33c6c34d35595360d84a49294/stdlib/public/Concurrency/Task.cpp#L1618

The function is defined in Task.cpp with a void return type, but
referenced in Task.swift with an pointer return type.
@kateinoigakukun
Copy link
Member Author

@swift-ci Please smoke test

@kateinoigakukun
Copy link
Member Author

@swift-ci Please smoke test macOS

@kateinoigakukun
Copy link
Member Author

@swift-ci Please smoke test

@kateinoigakukun kateinoigakukun marked this pull request as ready for review June 19, 2023 14:43
@kateinoigakukun kateinoigakukun requested a review from etcwilde June 19, 2023 14:43
@kateinoigakukun kateinoigakukun merged commit 189dfc8 into swiftlang:main Jun 19, 2023
@kateinoigakukun kateinoigakukun deleted the pr-24ab097e23a1794d0cb5b29f35af64e90456b406 branch June 20, 2023 08:00
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.

2 participants