Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Can't get version 0.7.0 compile on Xcode 14 beta 1 #60

Closed
xiaogdgenuine opened this issue Aug 10, 2022 · 1 comment
Closed

Can't get version 0.7.0 compile on Xcode 14 beta 1 #60

xiaogdgenuine opened this issue Aug 10, 2022 · 1 comment

Comments

@xiaogdgenuine
Copy link

Describe the bug
Thank you for the concurrency work!

Hoever I got a compile error when try to use latest TCA package 0.39.0, which depends on this package at version 0.7.0.

AnyScheduler.swift:333:48: error build: Protocol type with type arguments can only be used as a generic constraint

To Reproduce
Download the package, and compile.

Expected behavior
It should compile.

Screenshots
image

Environment

  • Xcode 14.0 beta 1
  • Swift 5.7
  • OS iOS 16 beta(simulator)
  • macOS 12.4 Monterey
@mbrandonw
Copy link
Member

Hi @xiaogdgenuine, the primary associated type for Scheduler wasn't added until a later beta, and I don't believe it's possible for us to conditionally compile code based on when that feature became available.

In general we can only really support the newest Xcode beta. Is it possible for you to use a newer beta?

Also, since this isn't really an issue with the library I am going to convert it to a discussion.

@pointfreeco pointfreeco locked and limited conversation to collaborators Aug 10, 2022
@mbrandonw mbrandonw converted this issue into discussion #61 Aug 10, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants