Skip to content

Commit 9cc8b3d

Browse files
committed
fix bootstrap failure
1 parent a3405c1 commit 9cc8b3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

base/iterators.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using .Base:
1313
SizeUnknown, HasLength, HasShape, IsInfinite, EltypeUnknown, HasEltype, OneTo,
1414
@propagate_inbounds, @isdefined, @boundscheck, @inbounds, Generator,
1515
AbstractRange, AbstractUnitRange, UnitRange, LinearIndices, TupleOrBottom,
16-
(:), |, +, -, *, !==, !, ==, !=, <=, <, >, >=, missing, something, copyto!,
16+
(:), |, +, -, *, !==, !, ==, !=, <=, <, >, >=, missing, copyto!,
1717
any, _counttuple, eachindex, ntuple, zero, prod, reduce, in, firstindex, lastindex,
1818
tail, fieldtypes, min, max, minimum, zero, oneunit, promote, promote_shape
1919
using Core: @doc
@@ -514,7 +514,7 @@ function unzip(itrs)
514514
vals, state = outer
515515
vecs = ntuple(length(vals)) do i
516516
x = vals[i]
517-
v = Vector{typeof(x)}(undef, something(n, 1))
517+
v = Vector{typeof(x)}(undef, Base.something(n, 1))
518518
@inbounds v[1] = x
519519
return v
520520
end
@@ -541,7 +541,7 @@ function unzip_rest(vecs, eltypes, i, itrs, state)
541541
T = Base.promote_typejoin(eltype(v), typeof(x))
542542
v′ = Vector{T}(undef, length(v) + !(i isa Int))
543543
copyto!(v′, v)
544-
@inbounds v′[something(i, end)] = x
544+
@inbounds v′[Base.something(i, end)] = x
545545
return v′
546546
end
547547
eltypes′ = Tuple{map(eltype, vecs′)...}

0 commit comments

Comments
 (0)