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
Xcode 11.4.1 (11E503a)
Apple Swift version 5.2 (swiftlang-1103.0.32.1 clang-1103.0.32.29)
Target: x86_64-apple-darwin19.4.0
md5: 57fd135bd20ffe35a6ff9f1b2206325f
Issue Description:
Attempting to compile the code:
"test ".trimmingCharacters(in: .alphanumerics.inverted)
does not compile. The fatal error states "Cannot infer contextual base in reference to member 'alphanumerics'"
Instead I am required to enter:
"test ".trimmingCharacters(in: CharacterSet.alphanumerics.inverted)
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
Looks like this has been fixed on main:
import Foundation "test ".trimmingCharacters(in: .alphanumerics.inverted)
This snippet type-checks just fine. davidde_94 (JIRA User) Please use the latest snapshot of main branch to verify and close.
No branches or pull requests
Environment
Xcode 11.4.1 (11E503a)
Apple Swift version 5.2 (swiftlang-1103.0.32.1 clang-1103.0.32.29)
Target: x86_64-apple-darwin19.4.0
Additional Detail from JIRA
md5: 57fd135bd20ffe35a6ff9f1b2206325f
Issue Description:
Attempting to compile the code:
does not compile. The fatal error states "Cannot infer contextual base in reference to member 'alphanumerics'"
Instead I am required to enter:
The text was updated successfully, but these errors were encountered: