bmad-sim / bmad-sim/BeamTracking.jl
Warning when running PR tests: wrapping `Vararg` directly in UnionAll is deprecated
- Dominant language
- Julia
- Stars
- 8
- Forks
- 8
- Avg merge
- 16h 2m
- Merged PRs (30d)
- 6
Description
The following warning is generated:
```
┌ BeamTracking
│ 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)`.
└
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running the PR test suite to reproduce the deprecation warning, then search the repository for direct Vararg usage and the BeamTracking code path that emits it. Done means the warning no longer appears during the PR tests without changing their intended behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- hpc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100