-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
stagedfunctions don't work with default arguments #9088
Comments
I would say the fix is to make the one argument definition not staged. |
simonster
changed the title
stagefunctions don't work with default arguments
stagedfunctions don't work with default arguments
Nov 21, 2014
Thanks, Jeff! |
bjarthur
pushed a commit
to bjarthur/julia
that referenced
this issue
Nov 21, 2014
when multiple methods (for keyword or default args) are generated, only the one with the original code should be staged.
waTeim
pushed a commit
to waTeim/julia
that referenced
this issue
Nov 23, 2014
when multiple methods (for keyword or default args) are generated, only the one with the original code should be staged.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Another not-urgent thing that needs fixing with stagedfunctions:
Presumably we should either disable default arguments, or (better) substitute in the type of the default rather than its value during instantiation.
The text was updated successfully, but these errors were encountered: