I tested changing -1 to 0 and the problems still exist.
julia> J=Jacobi(1.0,1.0)
Jacobi{Float64}(1.0, 1.0)
julia> J[-1,:]
∞-element view(::Jacobi{Float64}, -1.0, :) with eltype Float64 with indices OneToInf():
1.0
-2.0
3.0
-4.0
5.000000000000001
⋮
julia> J[-1,1:∞]
ERROR: StackOverflowError:
Stacktrace:
[1] getindex(::Jacobi{Float64}, ::Int64, ::InfiniteArrays.OneToInf{Int64}) at C:\Users\DELL\.julia\packages\OrthogonalPolynomialsQuasi\llrOw\src\OrthogonalPolynomialsQuasi.jl:234 (repeats 79984 times)
julia> J[-1,:][2:∞] # I waited for some minutes before interrupting Julia
ERROR: InterruptException:
Stacktrace:
[1] similar(::Array{LazyArrays.LazyLayout,1}, ::Type) at .\array.jl:358
[2] copyto_nonleaf!(::Array{LazyArrays.LazyLayout,1}, ::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1},Tuple{Base.OneTo{Int64}},Type{ArrayLayouts.MemoryLayout},Tuple{Base.Broadcast.Extruded{Array{Any,1},Tuple{Bool},Tuple{Int64}}}}, ::Base.OneTo{Int64}, ::Int64, ::Int64) at .\broadcast.jl:1010
[3] copy at .\broadcast.jl:858 [inlined]
[4] materialize at .\broadcast.jl:820 [inlined]
[5] tuple_type_memorylayouts(::Type{Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}) at C:\Users\DELL\.julia\packages\LazyArrays\MAEFm\src\lazybroadcasting.jl:109
[6] MemoryLayout at C:\Users\DELL\.julia\packages\LazyArrays\MAEFm\src\lazybroadcasting.jl:119 [inlined]
[7] call(::BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}) at C:\Users\DELL\.julia\packages\LazyArrays\MAEFm\src\lazyapplying.jl:22
[8] Base.Broadcast.Broadcasted(::BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}) at C:\Users\DELL\.julia\packages\LazyArrays\MAEFm\src\lazybroadcasting.jl:43
[9] axes(::BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}) at C:\Users\DELL\.julia\packages\LazyArrays\MAEFm\src\lazybroadcasting.jl:48
[10] combine_axes at .\broadcast.jl:473 [inlined]
[11] instantiate(::Base.Broadcast.Broadcasted{LazyArrays.LazyArrayStyle{1},Nothing,typeof(*),Tuple{BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}}}) at .\broadcast.jl:256
[12] Base.Broadcast.Broadcasted(::BroadcastArray{Float64,1,typeof(*),Tuple{BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}}}) at C:\Users\DELL\.julia\packages\LazyArrays\MAEFm\src\lazybroadcasting.jl:43
[13] axes(::BroadcastArray{Float64,1,typeof(*),Tuple{BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}}}) at C:\Users\DELL\.julia\packages\LazyArrays\MAEFm\src\lazybroadcasting.jl:48
[14] newindex at .\broadcast.jl:537 [inlined]
[15] _broadcast_getindex at .\broadcast.jl:584 [inlined]
[16] _getindex at .\broadcast.jl:628 [inlined]
[17] _getindex at .\broadcast.jl:627 [inlined]
[18] _broadcast_getindex at .\broadcast.jl:603 [inlined]
[19] getindex(::Base.Broadcast.Broadcasted{LazyArrays.LazyArrayStyle{1},Tuple{InfiniteArrays.OneToInf{Int64}},typeof(/),Tuple{BroadcastArray{Float64,1,typeof(*),Tuple{Int64,InfiniteArrays.InfUnitRange{Int64},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfUnitRange{Int64},Float64,Float64,Int64}}}},BroadcastArray{Float64,1,typeof(*),Tuple{BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}}}}}, ::Int64) at .\broadcast.jl:564
[20] getindex(::BroadcastArray{Float64,1,typeof(/),Tuple{BroadcastArray{Float64,1,typeof(*),Tuple{Int64,InfiniteArrays.InfUnitRange{Int64},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfUnitRange{Int64},Float64,Float64,Int64}}}},BroadcastArray{Float64,1,typeof(*),Tuple{BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}}}}}, ::Int64) at C:\Users\DELL\.julia\packages\LazyArrays\MAEFm\src\lazybroadcasting.jl:52
[21] vcat_getindex at C:\Users\DELL\.julia\packages\LazyArrays\MAEFm\src\lazyconcat.jl:51 [inlined]
[22] getindex at C:\Users\DELL\.julia\packages\LazyArrays\MAEFm\src\lazyconcat.jl:68 [inlined]
[23] forwardrecurrence!(::Array{Float64,1}, ::BroadcastArray{Float64,1,typeof(/),Tuple{BroadcastArray{Float64,1,typeof(*),Tuple{Int64,InfiniteArrays.InfStepRange{Float64,Float64},InfiniteArrays.InfStepRange{Float64,Float64}}},BroadcastArray{Float64,1,typeof(*),Tuple{BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64}},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}}}}}, ::LazyArrays.ApplyArray{Float64,1,typeof(vcat),Tuple{Float64,BroadcastArray{Float64,1,typeof(/),Tuple{Float64,BroadcastArray{Float64,1,typeof(*),Tuple{InfiniteArrays.InfStepRange{Float64,Float64},InfiniteArrays.InfStepRange{Float64,Float64}}}}}}}, ::LazyArrays.ApplyArray{Float64,1,typeof(vcat),Tuple{Float64,BroadcastArray{Float64,1,typeof(/),Tuple{BroadcastArray{Float64,1,typeof(*),Tuple{Int64,InfiniteArrays.InfUnitRange{Int64},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfUnitRange{Int64},Float64,Float64,Int64}}}},BroadcastArray{Float64,1,typeof(*),Tuple{BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}}}}}}}, ::Float64, ::Int64) at C:\Users\DELL\.julia\packages\OrthogonalPolynomialsQuasi\llrOw\src\OrthogonalPolynomialsQuasi.jl:146
[24] forwardrecurrence!(::Array{Float64,1}, ::BroadcastArray{Float64,1,typeof(/),Tuple{BroadcastArray{Float64,1,typeof(*),Tuple{Int64,InfiniteArrays.InfStepRange{Float64,Float64},InfiniteArrays.InfStepRange{Float64,Float64}}},BroadcastArray{Float64,1,typeof(*),Tuple{BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64}},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}}}}}, ::LazyArrays.ApplyArray{Float64,1,typeof(vcat),Tuple{Float64,BroadcastArray{Float64,1,typeof(/),Tuple{Float64,BroadcastArray{Float64,1,typeof(*),Tuple{InfiniteArrays.InfStepRange{Float64,Float64},InfiniteArrays.InfStepRange{Float64,Float64}}}}}}}, ::LazyArrays.ApplyArray{Float64,1,typeof(vcat),Tuple{Float64,BroadcastArray{Float64,1,typeof(/),Tuple{BroadcastArray{Float64,1,typeof(*),Tuple{Int64,InfiniteArrays.InfUnitRange{Int64},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfUnitRange{Int64},Float64,Float64,Int64}}}},BroadcastArray{Float64,1,typeof(*),Tuple{BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}},BroadcastArray{Float64,1,typeof(+),Tuple{InfiniteArrays.InfStepRange{Int64,Int64},Float64,Float64,Int64}}}}}}}}, ::Float64) at C:\Users\DELL\.julia\packages\OrthogonalPolynomialsQuasi\llrOw\src\OrthogonalPolynomialsQuasi.jl:136
[25] getindex(::Jacobi{Float64}, ::Float64, ::Base.OneTo{Int64}) at C:\Users\DELL\.julia\packages\OrthogonalPolynomialsQuasi\llrOw\src\OrthogonalPolynomialsQuasi.jl:200
[26] getindex at C:\Users\DELL\.julia\packages\OrthogonalPolynomialsQuasi\llrOw\src\OrthogonalPolynomialsQuasi.jl:240 [inlined]
[27] getindex at C:\Users\DELL\.julia\packages\QuasiArrays\4gS8F\src\subquasiarray.jl:215 [inlined]
[28] macro expansion at .\multidimensional.jl:756 [inlined]
[29] macro expansion at .\cartesian.jl:64 [inlined]
[30] macro expansion at .\multidimensional.jl:751 [inlined]
[31] _unsafe_getindex! at .\multidimensional.jl:747 [inlined]
[32] _unsafe_getindex(::IndexCartesian, ::SubArray{Float64,1,Jacobi{Float64},Tuple{Float64,Base.Slice{InfiniteArrays.OneToInf{Int64}}},false}, ::InfiniteArrays.InfUnitRange{Int64}) at .\multidimensional.jl:741
[33] _getindex at .\multidimensional.jl:727 [inlined]
[34] getindex(::SubArray{Float64,1,Jacobi{Float64},Tuple{Float64,Base.Slice{InfiniteArrays.OneToInf{Int64}}},false}, ::InfiniteArrays.InfUnitRange{Int64}) at .\abstractarray.jl:980
[35] top-level scope at none:0