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-13977] Eliminate "partial application of ‘mutating’ method is not allowed" #56372

Open
mattyoung opened this issue Dec 20, 2020 · 1 comment
Labels
compiler The Swift compiler in itself improvement

Comments

@mattyoung
Copy link

Previous ID SR-13977
Radar rdar://problem/72558650
Original Reporter @mattyoung
Type Improvement
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Improvement
Assignee None
Priority Medium

md5: 395e890657deee21732579d6d51c353a

Issue Description:

Should allow direct access to mutating method as closure so to avoid having to do indirect call:

{ aMutatingMethod() }

See: https://forums.swift.org/t/compile-error-partial-application-of-mutating-method-is-not-allowed-what-is-partial-application/43163/7

@typesanitizer
Copy link

@swift-ci create

@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
compiler The Swift compiler in itself improvement
Projects
None yet
Development

No branches or pull requests

2 participants