Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure on Julia 1.11 #40

Open
evetion opened this issue Nov 20, 2024 · 0 comments
Open

Failure on Julia 1.11 #40

evetion opened this issue Nov 20, 2024 · 0 comments

Comments

@evetion
Copy link

evetion commented Nov 20, 2024

Not sure if this is me, but on my Julia 1.11 installation:

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.1 (2024-10-16)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Eyeball

julia> eye(Number)
ERROR: MethodError: no method matching length(::Base.Iterators.Stateful{Base.Iterators.Zip{Tuple{Tuple{}, Core.SimpleVector}}, Nothing})
The function `length` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  length(::Base.Iterators.Flatten{Tuple{}})
   @ Base iterators.jl:1244
  length(::Core.Compiler.InstructionStream)
   @ Base show.jl:2820
  length(::Core.MethodTable)
   @ Base reflection.jl:1319
  ...

Stacktrace:
  [1] _iterate(itr::Base.Iterators.Stateful{Base.Iterators.Zip{Tuple{Tuple{}, Core.SimpleVector}}, Nothing}, depth::Int64, shown::Int64, parent::FoldingTrees.Node{Eyeball.ObjectWrapper}, history::IdSet{Any})
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:350
  [2] treelist(x::Type, depth::Int64, shown::Int64, parent::FoldingTrees.Node{Eyeball.ObjectWrapper}, history::IdSet{Any})
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:333
  [3] _iterate(itr::Base.Iterators.Stateful{Base.Iterators.Zip{Tuple{…}}, Union{Nothing, Tuple{…}}}, depth::Int64, shown::Int64, parent::FoldingTrees.Node{Eyeball.ObjectWrapper}, history::IdSet{Any})
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:344
  [4] treelist(x::Type, depth::Int64, shown::Int64, parent::FoldingTrees.Node{Eyeball.ObjectWrapper}, history::IdSet{Any})
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:333
  [5] _iterate(itr::Base.Iterators.Stateful{Base.Iterators.Zip{Tuple{…}}, Union{Nothing, Tuple{…}}}, depth::Int64, shown::Int64, parent::FoldingTrees.Node{Eyeball.ObjectWrapper}, history::IdSet{Any})
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:344
  [6] treelist(x::Type, depth::Int64, shown::Int64, parent::FoldingTrees.Node{Eyeball.ObjectWrapper}, history::IdSet{Any})
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:333
  [7] _iterate(itr::Base.Iterators.Stateful{Base.Iterators.Zip{Tuple{Tuple{…}, Base.Generator{…}}}, Any}, depth::Int64, shown::Int64, parent::FoldingTrees.Node{Eyeball.ObjectWrapper}, history::IdSet{Any})
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:344
  [8] treelist(x::Type, depth::Int64, shown::Int64, parent::FoldingTrees.Node{Eyeball.ObjectWrapper}, history::IdSet{Any})
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:333
  [9] _iterate(itr::Base.Iterators.Stateful{Base.Iterators.Zip{Tuple{…}}, Union{Nothing, Tuple{…}}}, depth::Int64, shown::Int64, parent::FoldingTrees.Node{Eyeball.ObjectWrapper}, history::IdSet{Any})
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:344
 [10] treelist(x::Type, depth::Int64, shown::Int64, parent::FoldingTrees.Node{Eyeball.ObjectWrapper}, history::IdSet{Any})
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:333
 [11] treelist(x::Type, depth::Int64, shown::Int64)
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:331
 [12] eye(x::Type, depth::Int64; interactive::Bool, all::Bool)
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:222
 [13] eye(x::Type, depth::Int64)
    @ Eyeball ~/.julia/packages/Eyeball/AXXD8/src/Eyeball.jl:59
 [14] top-level scope
    @ REPL[1]:1
Some type information was truncated. Use `show(err)` to see complete types.

On 1.9 and 1.10 this works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant