We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
::Int
1 parent 2488ebd commit 909e972Copy full SHA for 909e972
base/strings/basic.jl
@@ -446,7 +446,7 @@ ERROR: BoundsError: attempt to access 2-codeunit String at index [-1]
446
[...]
447
```
448
"""
449
-thisind(s::AbstractString, i::Integer) = thisind(s, Int(i)::Int)
+thisind(s::AbstractString, i::Integer) = thisind(s, Int(i)::Int)::Int
450
451
function thisind(s::AbstractString, i::Int)
452
z = ncodeunits(s)::Int + 1
0 commit comments