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

JuliaLang / julia / 1442
77%

Build:
DEFAULT BRANCH: master
Ran 14 Feb 2026 11:36AM UTC
Jobs 3
Files 350
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

14 Feb 2026 04:38AM UTC coverage: 76.723% (-0.02%) from 76.739%
1442

push

buildkite

web-flow
[JuliaLowering] Fix-up implementation of `GC.@preserve` (#61022)

Trying to emulate the scope token by introducing an identifier / local
doesn't work when the result is compiled:
```julia
julia> JuliaLowering.include_string(Main, raw"""
       foo() = let
           debug_buffer = IOBuffer()
           GC.@preserve debug_buffer try; println(); catch; end
       end
       foo()
       """; expr_compat_mode=true)
julia: /home/topolarity/repos/julia/src/codegen.cpp:6999: jl_cgval_t emit_expr(jl_codectx_t&, jl_value_t*, ssize_t):
Assertion `token.V->getType()->isTokenTy()' failed.
```

As far as I can tell, this must be implemented via `Expr(:gc_preserve,
...)` since the `gc_preserve_begin` token must end up ultimately as an
`SSAValue`.

Resolves https://github.com/JuliaLang/JuliaLowering.jl/issues/145.

P.S. @mlechu this is fairly barebones test coverage, so let me know if
you'd like me to add some more.

63013 of 82130 relevant lines covered (76.72%)

23325695.42 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
48.09
-0.32% base/docs/Docs.jl
4
81.34
-0.35% stdlib/REPL/src/REPL.jl
7
76.87
-0.18% base/loading.jl
30
40.3
-15.15% base/meta.jl
Jobs
ID Job ID Ran Files Coverage
1442 windows-coverage - 1442 14 Feb 2026 02:52PM UTC 318
75.62
1442 linux-coverage - 1442 14 Feb 2026 02:28PM UTC 349
75.45
1442 macos-coverage - 1442 14 Feb 2026 11:36AM UTC 350
75.42
Source Files on build 1442
  • Tree
  • List 350
  • Changed 73
  • Source Changed 0
  • Coverage Changed 73
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c4224cbb on github
  • Prev Build on master (#1441)
  • Next Build on master (#1443)
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