-
Notifications
You must be signed in to change notification settings - Fork 201
Cannot invoke initializer for type 'Range<_>' with an argument list of type '(Range<String.Index>)' in func substring(start:end:) #85
Comments
Most probably it is. I'll have a look ASAP. |
Changes in |
Hi, may I know how to solve this issue please? I am having the same problem. Thanks |
Was this it?
I fixed a similar error in my code this way instead:
|
I fixed the error by replacing the code with
|
That's the line that fixes it. the issue recurred in the latest version, but making the following change fixes it in Swift 4 and up `
|
@boywithaxe beware though, Did you try just taking out
|
the above function contains a method resulting in the following error:
Cannot invoke initializer for type 'Range<_>' with an argument list of type '(Range<String.Index>)' in Xcode 10 beta 1.
I appreciate this is a very early report, but does seem to be a swift version issue.
The text was updated successfully, but these errors were encountered: