Skip to content
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

non-sendable type warning occurs #280

Open
uhooi opened this issue Jan 11, 2022 · 1 comment
Open

non-sendable type warning occurs #280

uhooi opened this issue Jan 11, 2022 · 1 comment

Comments

@uhooi
Copy link
Owner

uhooi commented Jan 11, 2022

Warnings

Logs

.../UhooiPicBook/App/UhooiPicBookWidgetsConfigurableIntent/IntentHandler.swift:27:42: cannot use parameter 'self' with a non-sendable type 'IntentHandler' from concurrently-executed code
.../UhooiPicBook/App/UhooiPicBookWidgetsConfigurableIntent/IntentHandler.swift:31:17: cannot use parameter 'completion' with a non-sendable type '(INObjectCollection<MonsterIntentObject>?, Error?) -> Void' from concurrently-executed code
.../UhooiPicBook/App/UhooiPicBookWidgetsConfigurableIntent/IntentHandler.swift:33:17: cannot use parameter 'completion' with a non-sendable type '(INObjectCollection<MonsterIntentObject>?, Error?) -> Void' from concurrently-executed code
.../UhooiPicBook/App/UhooiPicBookWidgets/Monster/MonsterConfigurableWidget.swift:51:36: cannot use parameter 'self' with a non-sendable type 'MonsterProvider' from concurrently-executed code
.../UhooiPicBook/App/UhooiPicBookWidgets/Monster/MonsterConfigurableWidget.swift:51:59: cannot use parameter 'intent' with a non-sendable type 'MonsterProvider.Intent' (aka 'SelectMonsterIntent') from concurrently-executed code
.../UhooiPicBook/App/UhooiPicBookWidgets/Monster/MonsterConfigurableWidget.swift:53:13: cannot use parameter 'completion' with a non-sendable type '(Timeline<MonsterProvider.Entry>) -> Void' (aka '(Timeline<MonsterEntry>) -> ()') from concurrently-executed code

Screenshot

Warnings
スクリーンショット 2022-01-11 13 12 58
@github-actions
Copy link

👋 Thanks for reporting!
Please PR :)

@uhooi uhooi removed the triage label Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant