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

Show keyword arguments in list of methods #2758

Closed
andrioni opened this issue Apr 4, 2013 · 5 comments · Fixed by #5971
Closed

Show keyword arguments in list of methods #2758

andrioni opened this issue Apr 4, 2013 · 5 comments · Fixed by #5971
Assignees

Comments

@andrioni
Copy link
Member

andrioni commented Apr 4, 2013

Currently the keyword arguments are completely ignored, and it's hard to see if a method has them or not.

julia> test(;y = 12) = y
# methods for generic function test
test()

julia> test
# methods for generic function test
test()

julia> test(y = 2)
2
@JeffBezanson
Copy link
Member

Yes, yes, I know. If I waited until everything was perfect to merge the keyword args branch, we'd never have them :)

@andrioni
Copy link
Member Author

andrioni commented Apr 4, 2013

I know, and I'm glad it's merged :), it's just because I saw no issues about it. Is there a to-do list somewhere (so I could avoid creating issues for things already planned)?

@andrewcooke
Copy link
Contributor

Is there a workaround that allows, for example, code_native() to find methods with keyword arguments?

See https://groups.google.com/forum/#!topic/julia-users/PTLVKl3RM6w which sent me here (indirectly).

@quinnj
Copy link
Member

quinnj commented Aug 29, 2014

Can this be 0.4? Doesn't need to be during dev period, but I think this would be good to have for 0.4.

@StefanKarpinski StefanKarpinski modified the milestones: 1.0, 0.4 Aug 29, 2014
hayd pushed a commit to hayd/julia that referenced this issue Oct 1, 2015
@hayd
Copy link
Member

hayd commented Oct 1, 2015

Bump! I guess this is (tentatively) 0.5 ?

Edit: Weird Github shows 0.4 in the milestone change message above and 0.4.x at the top.

vtjnash added a commit that referenced this issue Mar 15, 2016
vtjnash added a commit that referenced this issue Mar 18, 2016
vtjnash added a commit that referenced this issue Mar 19, 2016
vtjnash added a commit that referenced this issue Mar 21, 2016
vtjnash added a commit that referenced this issue Mar 21, 2016
@tkelman tkelman removed this from the 0.4.x milestone Mar 23, 2016
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 a pull request may close this issue.

7 participants