We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
% swift -version Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) Target: x86_64-apple-darwin20.5.0
md5: 1cec24bbfa528abdcd0780056e178611
duplicates:
Issue Description:
Here is a rather strange behaviour, self cannot be used where Self is needed:
final class A { func act() {} func check() { func foo(s: Self) {} foo(s: self) Self.act(self) } }
error:
file.swift:40:12: error: cannot convert value of type 'A' to expected argument type 'Self' foo(s: self) ^ as! Self file.swift:41:14: error: cannot convert value of type 'A' to expected argument type 'Self' Self.act(self) ^ as! Self
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
No branches or pull requests
Environment
% swift -version
Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
Target: x86_64-apple-darwin20.5.0
Additional Detail from JIRA
md5: 1cec24bbfa528abdcd0780056e178611
duplicates:
Issue Description:
Here is a rather strange behaviour, self cannot be used where Self is needed:
error:
The text was updated successfully, but these errors were encountered: