-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
When running tests or precompiling packages that depend on ReactiveMP, I receive multiple deprecation warnings related to Vararg usage. This seems to be caused by function signatures that wrap Vararg directly in UnionAll, which is deprecated in Julia 1.11+.
Warning output:
WARNING: Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead).
You may need to write `f(x::Vararg{T})` rather than `f(x::Vararg{<:T})` or
`f(x::Vararg{T}) where T` instead of `f(x::Vararg{T} where T)`.This warning appears several times during precompilation:
┌ ReactiveMP
│ WARNING: Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead).
[repeated at least 20 times]
┌ ReactiveMP → ReactiveMPProjectionExt
│ WARNING: Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead).which also can be seen in any recent CI julia-runtest test output.
Fixing this should be easy so it is a good first issue.
Metadata
Metadata
Assignees
Labels
No labels