Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bodyfunction(m::Method) #36385

Merged
merged 1 commit into from
Aug 27, 2020
Merged

Add bodyfunction(m::Method) #36385

merged 1 commit into from
Aug 27, 2020

Conversation

timholy
Copy link
Sponsor Member

@timholy timholy commented Jun 22, 2020

This finds the function that implements the "body" of keyword-method m, as generated by lowering. You can think of this as a complement to Core.kwfunc.

This addresses the "discovery" part of #30908. The renaming part is done by LoweredCodeUtils. I'll let @JeffBezanson decide whether to close that issue.

This is basically copy/pasted from SnoopCompile.

@timholy
Copy link
Sponsor Member Author

timholy commented Aug 26, 2020

There haven't been any complaints here so I'll merge tomorrow.

base/reflection.jl Outdated Show resolved Hide resolved
This finds the function that implements the "body" of keyword-method `m`,
as generated by lowering.

This addresses the "discovery" part of #30908.
The renaming is done by LoweredCodeUtils.
@timholy timholy merged commit e0cc82b into master Aug 27, 2020
@timholy timholy deleted the teh/bodymethod branch August 27, 2020 08:57
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 29, 2020
This finds the function that implements the "body" of keyword-method `m`,
as generated by lowering.

This addresses the "discovery" part of JuliaLang#30908.
The renaming is done by LoweredCodeUtils.
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.

None yet

2 participants