Skip to content

Adapt to JuliaLang/julia#62221#799

Merged
aviatesk merged 1 commit into
masterfrom
jl-syntax
Jul 13, 2026
Merged

Adapt to JuliaLang/julia#62221#799
aviatesk merged 1 commit into
masterfrom
jl-syntax

Conversation

@aviatesk

Copy link
Copy Markdown
Owner

JuliaLang/julia#62221 changes JuliaLowering’s expansion API, syntax contexts, and inert syntax representation. Without matching updates, JETLS can lose source-aware bindings, mis-handle generated code, and resolve macro-generated names in the caller’s scope.

Rebase source trees before expansion, derive binding layers from SyntaxContext, and handle syntaxinert throughout binding and occurrence analysis. Update the new-style Base macro stubs to preserve provenance while keeping generated locals hygienic and using explicit Base/Core references for fixed helpers.

Evaluate nested @static conditions in the caller module and teach noreturn detection about explicit global references so definite-assignment analysis remains accurate.

JuliaLang/julia#62221 changes JuliaLowering’s expansion API,
syntax contexts, and inert syntax representation. Without matching
updates, JETLS can lose source-aware bindings, mis-handle generated
code, and resolve macro-generated names in the caller’s scope.

Rebase source trees before expansion, derive binding layers from
`SyntaxContext`, and handle `syntaxinert` throughout binding and
occurrence analysis. Update the new-style Base macro stubs to preserve
provenance while keeping generated locals hygienic and using explicit
`Base`/`Core` references for fixed helpers.

Evaluate nested `@static` conditions in the caller module and teach
noreturn detection about explicit global references so
definite-assignment analysis remains accurate.

Co-Authored-By: GPT-5.6 Sol <noreply@openai.com>
@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.82353% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.40%. Comparing base (abec979) to head (ea4f845).

Files with missing lines Patch % Lines
src/utils/binding.jl 97.80% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #799      +/-   ##
==========================================
+ Coverage   78.35%   78.40%   +0.05%     
==========================================
  Files          62       62              
  Lines       13160    13246      +86     
==========================================
+ Hits        10311    10386      +75     
- Misses       2849     2860      +11     
Flag Coverage Δ
JETLS.jl 78.40% <98.82%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aviatesk
aviatesk merged commit e45c2c8 into master Jul 13, 2026
18 of 19 checks passed
@aviatesk
aviatesk deleted the jl-syntax branch July 13, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant