Aqua.jl icon indicating copy to clipboard operation
Aqua.jl copied to clipboard

Feature request: check for effect-free functions called without assignment

Open LilithHafner opened this issue 9 months ago • 0 comments

Motivating example: https://github.com/JuliaPy/PythonCall.jl/pull/386/files

julia> Base.infer_effects(ArgumentError, Tuple{String})
(+c,+e,+n,+t,+s,+m,+i)

Effect-free statements triggered for precompilation or benchmarking may be false positives.

LilithHafner avatar Oct 20 '23 13:10 LilithHafner