Closed
Description
Previous ID | SR-15885 |
Radar | None |
Original Reporter | @rjmccall |
Type | Bug |
Additional Detail from JIRA
Votes | 1 |
Component/s | |
Labels | Bug, StarterBug |
Assignee | None |
Priority | Medium |
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 @MainActor
function type, but doesn't seem to be:
@import Foundation;
typedef void (^FooAction)(void) NS_SWIFT_UI_ACTOR;
@protocol Foo
@property (nonatomic, nullable) FooAction didDoFoo;
- (void)doFoo;
@end
Metadata
Metadata
Assignees
Labels
Feature: Declaration and type attributesA deviation from expected or documented behavior. Also: expected but undesirable behavior.Area → compiler: The clang importerThe Swift compiler itselfFeature: umbrella label for concurrency language featuresGood for newcomersFeature: Interoperability with Objective-CFeature: types