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
Cannot invoke initializer for type 'Range<_>' with an argument list of type '(Range<String._CharacterView.Index>)'
let range = Range(characters.index(endIndex, offsetBy: -3) ..< endIndex) erro
The text was updated successfully, but these errors were encountered:
I have the same problem too ,Use this code instead can be fix let range = startIndex ..< characters.index(startIndex, offsetBy: 1)
Sorry, something went wrong.
楼上亲测有效 赞一个 不过报错的地方有四个 注意把offsetBy值改了就行.
Just remove : Range( and ending bracket )
No branches or pull requests
Cannot invoke initializer for type 'Range<_>' with an argument list of type '(Range<String._CharacterView.Index>)'
let range = Range(characters.index(endIndex, offsetBy: -3) ..< endIndex) erro
The text was updated successfully, but these errors were encountered: