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

JuliaLang / julia / 1520
78%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2026 11:42AM UTC
Jobs 0
Files 0
Run time –
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
1520

push

buildkite

web-flow
[JuliaLowering] Make `@cfunction` identifier callable scope-resolved (#61609)

The non-`$` branch of `@cfunction` now scope-resolves an identifier
callable so the lowered IR carries a binding reference (usable by
downstream tools like a language server that consume the IR).

The transform happens in `est_to_dst`, so both the new-style
`@cfunction` macro and flisp-expanded `@cfunction` (e.g. via `@doc`)
get the same treatment. The identifier inside
`[K"inert" [K"Identifier"]]` is rewrapped in `K"static_eval"` with
`scope_layer=1` (the outermost lowering layer, corresponding to the
method module used by `method.c`'s `jl_toplevel_eval`), so the binding
reference in the IR matches `@cfunction`'s flisp runtime resolution.
Non-identifier callables (function definitions, etc.) stay inert since
they are not direct binding references.

At `_to_lowered_expr` time, the scope-resolved fptr is converted back
to a bare `QuoteNode(Symbol)` so `method.c`'s `jl_toplevel_eval` looks
it up in the method's module at eval time, preserving Base
`@cfunction`'s current runtime behavior.

---

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Source Files on build 1520
Detailed source file information is not available for this build.
  • Back to Repo
  • c5b49888 on github
  • Prev Build on master (#1519)
  • Next Build on master (#1521)
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