[SR-15873] Documentation for withUnsafeCurrentTask refers to non-existent property UnsafeCurrentTask.task #58138
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Concurrencу
Area → standard library: The `Concurrency` module under the standard library umbrella
documentation
inaccurate info
Bug → documentation: Inaccurate info
standard library
Area: Standard library umbrella
Environment
This is the state of the documentation at https://developer.apple.com/documentation/swift/3815003-withunsafecurrenttask on 2022-02-16 (Swift 5.5).
Additional Detail from JIRA
md5: d028dc708a057ae6830a4808d7cf2fd3
Issue Description:
The documentation for
withUnsafeCurrentTask
says: (edit: fixed link)Problem:
UnsafeCurrentTask
has no publictask
property (and shouldn't as far as I can tell), so the documentation is incorrect.The text was updated successfully, but these errors were encountered: