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

MultiShape with Julia 1.6 #24

Open
gensby opened this issue May 20, 2021 · 0 comments
Open

MultiShape with Julia 1.6 #24

gensby opened this issue May 20, 2021 · 0 comments

Comments

@gensby
Copy link

gensby commented May 20, 2021

It appears the MultiShape example isn't working.

julia> xshape = ScalarShape(Real);
julia> yshape = MatrixShape(Real, 5, 10);
julia> multishape = MultiShape(x=xshape, y=yshape);
ERROR: MethodError: no method matching check_multishape_namedtuple(::Type{Val{(x = ScalarShape{Real, 0, 1}(), y = MatrixShape{5, 10, Real, 2, 50}())}})
The applicable method may be too new: running in world age 29802, while current world is 33160.
Closest candidates are:
check_multishape_namedtuple(::Type{Val{namedtuple}}) where namedtuple at ~/.julia/packages/Shapes/Ui6Wq/src/traits.jl:194 (method too new to be called from this world context.)
Stacktrace:
[1] #s25#9
@ ~/.julia/packages/Shapes/Ui6Wq/src/traits.jl:163 [inlined]
[2] var"#s25#9"(namedtuple::Any, ::Any)
@ Shapes ./none:0
[3] (::Core.GeneratedFunctionStub)(::Any, ::Vararg{Any, N} where N)
@ Core ./boot.jl:571
[4] MultiShape
@ ~/.julia/packages/Shapes/Ui6Wq/src/traits.jl:173 [inlined]
[5] #MultiShape#10
@ ~/.julia/packages/Shapes/Ui6Wq/src/traits.jl:174 [inlined]
[6] top-level scope
@ REPL[18]:1

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