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

JuliaLang / julia / #37513
77%

Build:
DEFAULT BRANCH: master
Ran 21 Apr 2023 12:09PM UTC
Jobs 1
Files 346
Run time 8s
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

pending completion
#37513

push

local

web-flow
Fix inference of one-arg `return_type` method (#49407)

* Fix inference of one-arg `return_type` method

`Core.Compiler.return_type` has two methods:
 - return_type(f, args::Type{<:Tuple})
 - return_type(args::Type{<:Tuple})

Our inference code was only catching the first one.
Expand it to support both.

* Update test/compiler/inference.jl

---------

Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>

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

72382 of 83401 relevant lines covered (86.79%)

36300167.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
85.79
-0.13% base/compiler/tfuncs.jl

Uncovered Existing Lines

Lines Coverage ∆ File
1
56.07
-0.33% base/int.jl
1
89.52
-0.3% base/process.jl
1
75.19
-0.78% base/stat.jl
1
89.54
-0.33% base/tuple.jl
1
95.87
-0.46% stdlib/Dates/src/periods.jl
1
79.71
-0.21% stdlib/FileWatching/src/FileWatching.jl
1
94.3
1.73% stdlib/LinearAlgebra/src/diagonal.jl
1
95.38
-0.15% stdlib/LinearAlgebra/src/matmul.jl
2
95.19
-0.31% base/arrayshow.jl
2
82.22
-0.89% base/compiler/typeutils.jl
2
93.75
-6.25% base/generator.jl
2
93.08
-0.42% base/math.jl
2
97.01
-2.99% base/number.jl
2
53.33
-8.21% base/traits.jl
2
89.02
-2.44% base/views.jl
2
68.48
-2.17% stdlib/Test/src/logging.jl
3
68.86
-1.32% base/c.jl
3
86.82
-0.48% base/mpfr.jl
3
92.17
-1.3% stdlib/Random/src/generation.jl
4
69.46
-2.4% base/combinatorics.jl
4
85.43
-1.62% base/compiler/ssair/irinterp.jl
5
99.11
-0.36% base/complex.jl
5
87.68
-0.88% base/gmp.jl
6
93.01
-0.5% base/operators.jl
7
81.57
-1.48% base/compiler/inferencestate.jl
7
96.38
-2.3% base/rational.jl
7
88.31
-0.22% base/show.jl
7
60.23
-2.7% stdlib/Artifacts/src/Artifacts.jl
8
59.26
-29.63% base/ryu/Ryu.jl
9
91.18
1.06% base/essentials.jl
9
92.53
-0.16% base/iterators.jl
9
72.73
-27.27% base/some.jl
9
89.36
-3.83% base/subarray.jl
9
91.15
-4.69% stdlib/Dates/src/parse.jl
9
30.77
-69.23% stdlib/TOML/src/TOML.jl
11
91.35
-5.95% base/ryu/exp.jl
11
75.17
-7.38% base/ryu/fixed.jl
15
85.16
-1.35% base/promotion.jl
19
68.22
-17.76% base/pcre.jl
20
88.77
-1.49% base/float.jl
20
85.25
-0.79% base/parse.jl
25
85.67
-8.14% base/expr.jl
25
91.06
-0.21% base/io.jl
26
86.31
0.02% base/compiler/utilities.jl
27
71.54
-22.0% stdlib/TOML/src/print.jl
29
94.75
-0.08% base/compiler/ssair/inlining.jl
30
36.0
-30.0% base/deprecated.jl
32
73.81
-8.47% base/ryu/shortest.jl
36
93.27
-0.99% base/array.jl
36
88.29
-2.82% base/boot.jl
40
44.12
-30.17% base/meta.jl
70
92.3
-0.5% base/abstractarray.jl
72
82.21
0.02% stdlib/REPL/src/REPL.jl
73
70.57
-23.1% base/regex.jl
78
82.14
-4.76% base/broadcast.jl
81
84.8
-9.93% stdlib/Test/src/Test.jl
136
55.59
-36.17% base/twiceprecision.jl
213
64.18
-31.14% base/range.jl
273
40.03
-46.0% base/toml_parser.jl
Jobs
ID Job ID Ran Files Coverage
1 #37513.1 21 Apr 2023 12:09PM UTC 346
86.79
Source Files on build #37513
  • Tree
  • List 346
  • Changed 298
  • Source Changed 0
  • Coverage Changed 298
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 186634ef 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