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

JuliaLang / julia / 1442 / 1442
77%
master: 77%

Build:
DEFAULT BRANCH: master
Ran 14 Feb 2026 02:53PM UTC
Files 349
Run time 10s
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: 75.447% (+4.1%) from 71.314%
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.

61897 of 82040 relevant lines covered (75.45%)

8314282.48 hits per line

Source Files on job linux-coverage - 1442
  • Tree
  • List 349
  • Changed 62
  • Source Changed 0
  • Coverage Changed 62
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1442
  • c4224cbb on github
  • Prev Job for on master (#1441)
  • Next Job for 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