-
-
Notifications
You must be signed in to change notification settings - Fork 410
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
Update sugar should pass value by name #25
Comments
Done. |
Praetonus
pushed a commit
to Praetonus/ponyc
that referenced
this issue
Nov 9, 2016
This change provides a way to chain calls on an object without depending on the method's API. Closes ponylang#1409.
Praetonus
pushed a commit
to Praetonus/ponyc
that referenced
this issue
Nov 10, 2016
This change provides a way to chain calls on an object without depending on the method's API. Closes ponylang#1409.
Praetonus
pushed a commit
to Praetonus/ponyc
that referenced
this issue
Nov 10, 2016
This change provides a way to chain calls on an object without depending on the method's API. Closes ponylang#1409.
jemc
pushed a commit
that referenced
this issue
Nov 11, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The update sugar has to pass the rhs from the source as an argument to update(). Currently we pass this as the last positional parameter. Unfortunately this may have complex interactions when combined with optional arguments and named arguments.
The solution to this is to pass the rhs as a named argument, suggest "value". We can't do this until named arguments are implemented of course.
The text was updated successfully, but these errors were encountered: