• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaLang / julia / 1555 / 1555
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 03 Jun 2026 03:12PM UTC
Files 352
Run time 25s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jun 2026 03:54AM UTC coverage: 76.495% (+0.01%) from 76.483%
1555

push

buildkite

web-flow
Don't rewrap other unioned types in flatten_type_union (#61980)

Fixes #61914, using the suggestion by Opus 4.6. (Thanks to @JeffBezanson
for confirmation that the original issue was real)

Here's a simpler example I used to understand the problem:
```
T = TypeVar(:T)
a = UnionAll(T, Union{Vector{T}, Int64})
```

Now, when we do `Union{a, T}`, we get `Union{Int64, Vector, T}` like
expected, since the `T` on the RHS is not bound by the UnionAll, and the
UnionAll of Union was rewritten to Union of UnionAll, leaving us with
`UnionAll(T, Vector{T}) == Vector`.

`Union{T, a}` gave us the wrong answer because `flatten_type_union`,
when doing the UnionAll of Union transform, would re-wrap every Union
component from the beginning of the `out` with the UnionAll's variable,
even if those components were not originally under the UnionAll. The
`out` array would go from `T, Vector{T}, Int64` to `UnionAll(T, T) =>
Any, UnionAll(T, Vector{T}) => Vector, UnionAll(T, Int64) => Int64`,
leaving us with `Any`.

64615 of 84470 relevant lines covered (76.49%)

8007696.66 hits per line

Source Files on job macos-coverage - 1555
  • Tree
  • List 352
  • Changed 20
  • Source Changed 11
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1555
  • f5586d6a on github
  • Prev Job for on master (#1554)
  • Next Job for on master (#1556)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc