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

JuliaLang / julia / #37917
77%

Build:
DEFAULT BRANCH: master
Ran 27 Sep 2024 11:19AM UTC
Jobs 1
Files 354
Run time 1min
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

27 Sep 2024 02:34AM UTC coverage: 87.243% (-0.5%) from 87.72%
#37917

push

local

web-flow
inference: add missing `TypeVar` handling for `instanceof_tfunc` (#55884)

I thought these sort of problems had been addressed by d60f92c, but it
seems some were missed. Specifically, `t.a` and `t.b` from `t::Union`
could be `TypeVar`, and if they are passed to a subroutine or recursed
without being unwrapped or rewrapped, errors like JuliaLang/julia#55882
could occur.

This commit resolves the issue by calling `unwraptv` in the `Union`
handling within `instanceof_tfunc`. I also found a similar issue inside
`nfields_tfunc`, so that has also been fixed, and test cases have been
added. While I haven't been able to make up a test case specifically for
the fix in `instanceof_tfunc`, I have confirmed that this commit
certainly fixes the issue reported in JuliaLang/julia#55882.

- fixes JuliaLang/julia#55882

4 of 4 new or added lines in 1 file covered. (100.0%)

448 existing lines in 25 files now uncovered.

77170 of 88454 relevant lines covered (87.24%)

16041082.61 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.01
-0.14% base/sort.jl
1
90.91
-0.41% stdlib/Random/src/generation.jl
1
95.17
-0.21% base/dict.jl
1
96.7
-0.18% stdlib/LinearAlgebra/src/generic.jl
1
82.35
-7.12% stdlib/Markdown/src/Markdown.jl
1
86.41
-0.26% base/boot.jl
2
47.83
-2.17% base/multimedia.jl
2
90.65
-0.33% stdlib/LinearAlgebra/src/matmul.jl
3
93.01
0.05% base/floatfuncs.jl
3
71.43
-21.9% stdlib/Markdown/src/IPython/IPython.jl
3
86.0
-6.0% stdlib/Markdown/src/parse/parse.jl
3
96.14
-0.83% base/strings/util.jl
4
87.89
-2.11% stdlib/Markdown/src/Common/block.jl
5
62.5
0.93% base/path.jl
7
58.24
-3.89% base/threadingconstructs.jl
8
63.64
-24.24% stdlib/Markdown/src/Julia/interp.jl
12
87.98
-0.62% base/show.jl
14
71.15
-26.92% stdlib/Markdown/src/render/terminal/formatting.jl
18
75.71
-12.77% base/stacktraces.jl
31
59.8
-30.39% stdlib/Markdown/src/render/html.jl
32
57.95
-36.36% stdlib/Markdown/src/render/plain.jl
35
37.78
-39.4% base/libdl.jl
37
53.51
-32.46% stdlib/Markdown/src/GitHub/table.jl
49
48.39
-31.48% stdlib/Markdown/src/render/terminal/render.jl
174
1.08
-93.46% stdlib/Profile/src/Allocs.jl
Jobs
ID Job ID Ran Files Coverage
1 #37917.1 27 Sep 2024 11:19AM UTC 354
87.24
Source Files on build #37917
  • Tree
  • List 354
  • Changed 270
  • Source Changed 0
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4b27a169 on github
  • Prev Build on master
  • Next Build on master
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

© 2025 Coveralls, Inc