Skip to content

JET linting error from wrap on Array (on 1.11) #54900

@KristofferC

Description

@KristofferC

Seeing this in some PkgEval logs

  ││││││││┌ string(::String, ::Tuple{Base.OneTo{Int64}}, ::String, ::Tuple{Base.OneTo{Int64}}) @ Base ./strings/io.jl:189
  │││││││││┌ print_to_string(::String, ::Tuple{Base.OneTo{Int64}}, ::String, ::Tuple{Base.OneTo{Int64}}) @ Base ./strings/io.jl:150
  ││││││││││┌ _unsafe_take!(io::IOBuffer) @ Base ./iobuffer.jl:504
  │││││││││││┌ wrap(::Type{Array}, m::MemoryRef{UInt8}, l::Int64) @ Base ./array.jl:3099
  ││││││││││││ failed to optimize due to recursion: Base.wrap(::Type{Array}, ::MemoryRef{UInt8}, ::Int64)

Nut sure if it is benign. cc @aviatesk

See for example https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/cf4f1ba_vs_edb3c92/NonuniformFFTs.primary.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrays[a, r, r, a, y, s]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions