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

[SR-14517] Cannot define operator with async autoclosure arguments. #56869

Open
swift-ci opened this issue Apr 22, 2021 · 4 comments
Open

[SR-14517] Cannot define operator with async autoclosure arguments. #56869

swift-ci opened this issue Apr 22, 2021 · 4 comments
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-14517
Radar None
Original Reporter george (JIRA User)
Type Bug
Environment

swift-DEVELOPMENT-SNAPSHOT-2021-09-14-a

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee @slavapestov
Priority Medium

md5: 7582bf23c71b6e8fc501c8bf56bfb324

Issue Description:

Forum discussion here: https://forums.swift.org/t/async-await-and-autoclosure/47614

Reduced test case: https://github.com/GeorgeLyon/ConcurrencyPlayground/blob/efc2d483b55afe34da09c1ff22cb4c766684f619/Sources/ConcurrencyPlayground/ConcurrencyPlayground.swift#L4-L6

@ktoso
Copy link
Member

ktoso commented Apr 22, 2021

This is related to rdar://72770687

And similar work for ?? and || was done here: #36614 and #36998

@swift-ci
Copy link
Collaborator Author

swift-ci commented Aug 1, 2021

Comment by George Leontiev (JIRA)

This seems to still be the case in Xcode 13 beta 4

@ktoso
Copy link
Member

ktoso commented Aug 2, 2021

Yeah nothing was done on this yet.

@swift-ci
Copy link
Collaborator Author

Comment by George Leontiev (JIRA)

So it sounds like this isn't landing in Swift 5.5? How significant of a limitation is this... is there hope for the next Swift release after that?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

2 participants