[SR-15885] NS_SWIFT_UI_ACTOR isn't recognized on block typedefs #58150
Labels
attributes
Feature: Declaration and type attributes
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
clang importer
Area → compiler: The clang importer
compiler
The Swift compiler itself
concurrency
Feature: umbrella label for concurrency language features
good first issue
Good for newcomers
objective-c interop
Feature: Interoperability with Objective-C
types
Feature: types

Additional Detail from JIRA
md5: c804c21c1b5258c110b8fb340a9361b7
Issue Description:
As reported by Aaron Sky on the forums:
https://forums.swift.org/t/annotate-objective-c-block-type-with-ns-swift-ui-actor/55437
This method ought to be imported as taking and return a
@MainActorfunction type, but doesn't seem to be:The text was updated successfully, but these errors were encountered: