Skip to content

Rebase #146#160

Open
Keno wants to merge 2 commits into
JuliaDebug:masterfrom
KenoAIStaging:kf/define_method
Open

Rebase #146#160
Keno wants to merge 2 commits into
JuliaDebug:masterfrom
KenoAIStaging:kf/define_method

Conversation

@Keno

@Keno Keno commented Jul 10, 2026

Copy link
Copy Markdown
Member

No description provided.

Keno and others added 2 commits July 9, 2026 18:18
…xpr(:method)` in Julia's lowered code (JuliaLang/julia#60099).

Add abstraction functions (`ismethod`, `ismethod1`, `ismethod3`, `method_name`,
`method_module`, `method_body`) that work with both the old `:method` expression
form and the new `define_method` call form. Update signature extraction,
`methoddef!`, and code edge analysis to use these abstractions. Handle method
table extraction for overlay methods in the `define_method` form.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Resolve inline and frame-backed method-table operands before classifying Core.define_method calls, and consistently recognize the new lowered form in code-edge analysis. This preserves external method tables without dropping compatibility with Expr(:method).

CI: https://buildkite.com/julialang/julia-master/builds/55542#019cdafc-f96b-438e-a022-9eda4e82ccbe

Co-authored-by: OpenAI Codex <codex@openai.com>
@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 78.57143% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.79%. Comparing base (04a0231) to head (ddcaa85).
⚠️ Report is 25 commits behind head on master.

Files with missing lines Patch % Lines
src/signatures.jl 65.78% 13 Missing ⚠️
src/utils.jl 86.20% 4 Missing ⚠️
src/codeedges.jl 94.11% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #160      +/-   ##
==========================================
- Coverage   76.95%   76.79%   -0.16%     
==========================================
  Files           6        6              
  Lines        1523     1629     +106     
==========================================
+ Hits         1172     1251      +79     
- Misses        351      378      +27     

☔ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant