Skip to content

Dict assignment problem #1544

@timholy

Description

@timholy

I poked at this a little, but in the end the error message makes little sense to me:

julia> load("strpack.jl")
no method assign(Dict{Any,Any},Int64,BitsKind)
in method_missing at base.jl:72
in merge at /home/tim/src/julia/extras/strpack.jl:410
in align_table at /home/tim/src/julia/extras/strpack.jl:416
in load_now at util.jl:233
in load_now at util.jl:247
in require at util.jl:176
at /home/tim/src/julia/extras/strpack.jl:433
in load_now at util.jl:233
in load_now at util.jl:247
in require at util.jl:176
in load_now at util.jl:258
in require at util.jl:176

Seems like assigning to a Dict{Any,Any} should not be problematic. Even changing line 405 to c = similar(b) doesn't fix the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions