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

"method->called" detection wrong for kwargs function wrapper #25116

Closed
vtjnash opened this issue Dec 15, 2017 · 2 comments
Closed

"method->called" detection wrong for kwargs function wrapper #25116

vtjnash opened this issue Dec 15, 2017 · 2 comments
Labels
compiler:lowering Syntax lowering (compiler front end, 2nd stage)

Comments

@vtjnash
Copy link
Member

vtjnash commented Dec 15, 2017

julia> f(g; a=1) = g()
f (generic function with 1 method)

julia> first(methods(f)).called
0
@JeffBezanson
Copy link
Member

It's not really so wrong; that method doesn't itself call g. Same deal with optional positional arguments.

@vtjnash vtjnash closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2024
@vtjnash
Copy link
Member Author

vtjnash commented Aug 16, 2024

Seems surprising, but okay

@vtjnash vtjnash added the compiler:lowering Syntax lowering (compiler front end, 2nd stage) label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:lowering Syntax lowering (compiler front end, 2nd stage)
Projects
None yet
Development

No branches or pull requests

2 participants