Skip to content

Handle the upcoming Core.define_method builtin that will replace `E…#146

Open
Keno wants to merge 1 commit intomasterfrom
kf/define_method
Open

Handle the upcoming Core.define_method builtin that will replace `E…#146
Keno wants to merge 1 commit intomasterfrom
kf/define_method

Conversation

@Keno
Copy link
Member

@Keno Keno commented Mar 11, 2026

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

…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>
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