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

JuliaLang / julia / #37370
77%

Build:
DEFAULT BRANCH: master
Ran 14 Dec 2022 11:47AM UTC
Jobs 1
Files 388
Run time 13s
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
#37370

push

local

web-flow
redirect line info of `@kwdef` constructor to the definition site (#47887)

This should improve the debuggability of constructors defined by `@kwdef`.

```julia
julia> @kwdef struct Test_kwdef_lineinfo
           a::String
       end

julia> Test_kwdef_lineinfo(; a=42)
[...]
```

Before:
```
Stacktrace:
 [1] Test_kwdef_lineinfo(a::Int64)
   @ Main ./none:2
 [2] Test_kwdef_lineinfo(; a::Int64)
   @ Main ~/julia/julia/base/util.jl:549
 [3] kwcall(::NamedTuple{(:a,), Tuple{Int64}}, ::Type{Test_kwdef_lineinfo})
   @ Main ~/julia/julia/base/util.jl:549
 [4] top-level scope
   @ none:1
```

After:
```
Stacktrace:
 [1] Test_kwdef_lineinfo(a::Int64)
   @ Main ./none:2
 [2] Test_kwdef_lineinfo(; a::Int64)
   @ Main ./none:1
 [3] kwcall(::NamedTuple{(:a,), Tuple{Int64}}, ::Type{Test_kwdef_lineinfo})
   @ Main ./none:1
 [4] top-level scope
   @ none:1
```

81694 of 87471 relevant lines covered (93.4%)

18619529.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #37370.1 14 Dec 2022 11:47AM UTC 0
93.4
Source Files on build #37370
Detailed source file information is not available for this build.
  • Back to Repo
  • 0fbe56e3 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

© 2026 Coveralls, Inc