File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
julia 0.6 2-
2
- ModuleInterfaceTools 0.1.6
2
+ ModuleInterfaceTools 0.1.7
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ codepoints(xs) = CodePoints(xs)
25
25
eltype (:: Type{<:CodePoints{S}} ) where {S} = eltype (S)
26
26
length (it:: CodePoints ) = length (it. xs)
27
27
@static if NEW_ITERATE
28
- iterate (it:: CodePoints , state) = iterate (it. xs, state)
28
+ iterate (it:: CodePoints , state= 1 ) = iterate (it. xs, state)
29
29
else
30
30
start (it:: CodePoints ) = 1
31
31
done (it:: CodePoints , state) = state > ncodeunits (it. xs)
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ strides(s::CodeUnits) = (1,)
119
119
getindex (s:: CodeUnits , i:: Int ) = codeunit (s. s, i)
120
120
IndexStyle (:: Type{<:CodeUnits} ) = IndexLinear ()
121
121
@static if NEW_ITERATE
122
- iterate (s:: CodeUnits , i) = (s[i], i+ 1 )
122
+ iterate (s:: CodeUnits , i= 1 ) = (s[i], i+ 1 )
123
123
else
124
124
start (s:: CodeUnits ) = 1
125
125
next (s:: CodeUnits , i) = (s[i], i+ 1 )
You can’t perform that action at this time.
0 commit comments