-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
JET linting error from wrap
on Array
(on 1.11)
#54900
Labels
arrays
[a, r, r, a, y, s]
Comments
|
KristofferC
changed the title
JET linting error from
JET linting error from Jun 23, 2024
wrap
on Array
wrap
on Array
(on 1.11)
Reduced to: ulia> report_opt(string, (String,Tuple{Base.OneTo{Int}},String,Tuple{Base.OneTo{Int}}))
═════ 4 possible errors found ═════
┌ 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)
│││└────────────────────
││┌ print_to_string(::String, ::Int64, ::String, ::Vararg{Any}) @ Base ./strings/io.jl:143
│││ runtime dispatch detected: Base._str_sizehint(%17::Any)::Int64
││└────────────────────
││┌ print_to_string(::String, ::Int64, ::String, ::Vararg{Any}) @ Base ./strings/io.jl:148
│││ runtime dispatch detected: print(%59::IOBuffer, %97::Any)::Any
││└────────────────────
││┌ string(::String, ::Int64, ::String, ::Tuple{Int64}, ::String, ::Int64, ::String, ::Int64, ::String) @ Base ./strings/io.jl:189
│││ failed to optimize due to recursion: string(::String, ::Int64, ::String, ::Tuple{Int64}, ::String, ::Int64, ::String, ::Int64, ::String)
││└──────────────────── I will look into it tomorrow. |
aviatesk
added a commit
that referenced
this issue
Jun 26, 2024
aviatesk
added a commit
that referenced
this issue
Jun 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seeing this in some PkgEval logs
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
The text was updated successfully, but these errors were encountered: