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

Update sugar should pass value by name #25

Closed
andymcn opened this issue Sep 9, 2014 · 1 comment
Closed

Update sugar should pass value by name #25

andymcn opened this issue Sep 9, 2014 · 1 comment

Comments

@andymcn
Copy link
Contributor

andymcn commented Sep 9, 2014

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.

@sylvanc
Copy link
Contributor

sylvanc commented Nov 18, 2014

Done.

@sylvanc sylvanc closed this as completed Nov 18, 2014
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
This change provides a way to chain calls on an object without
depending on the method's API.

Closes #1409.
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

No branches or pull requests

2 participants