Skip to content

Some inference and allocation test failures in Julia v1.12+ #160

@giordano

Description

@giordano

These tests

test_inferred(collect_as, return_type, (FixedSizeArray{Int}, iter))
test_inferred(collect_as, return_type, (FixedSizeVector{Int}, iter))
fail in Julia v1.12 and v1.13

Also in both v1.12 and v1.13 this one

test_inferred_noalloc(reshape, T, (a, shape2...))
fails the no allocations.

Finally,

test_inferred(collect_as, FSA{E,dim_count}, (T, iterator))

test_inferred(collect_as, FSA{Float64,dim_count}, (T, iterator))
fail only in julia v1.12, and only for some iterators.

@nsajko I believe you introduced all these tests, would you please be able to have a look? It's probable these are upstream issues in Julia, but it'd be good to reduce them and report them. Also, most of these issues are related to the use of Collects.jl. In the meantime I'm marking them as broken in #159.

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