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

Fix method show with kwarg and optional arguments #49475

Merged
merged 1 commit into from
May 4, 2023

Conversation

Liozou
Copy link
Member

@Liozou Liozou commented Apr 24, 2023

@vtjnash I believe this is what you actually indended in the base/methodshow.jl edit of #48639?
Otherwise, currently there is the odd var""... that appears when showing methods (and thus in REPL completion):

julia> function foo(a=12.0; b) end;

julia> foo(#TAB, on master
foo(a; b) @ Main REPL[1]:1        foo(; var""...) @ Main REPL[1]:1

julia> foo(#TAB, this PR
foo(a; b) @ Main REPL[1]:1   foo(; ...) @ Main REPL[1]:1

@KristofferC KristofferC merged commit 2a1fa43 into JuliaLang:master May 4, 2023
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.

3 participants