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

streamArg called on Event doesn't return correct stream #2109

Closed
telephon opened this issue May 20, 2016 · 0 comments
Closed

streamArg called on Event doesn't return correct stream #2109

telephon opened this issue May 20, 2016 · 0 comments
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. comp: class library SC class library

Comments

@telephon
Copy link
Member

reproducer:

z = (x: 9).streamArg(false);
z.next((uu: 99)); // ( 'x': 9 )

should behave the same as:

(x: 9).next((uu: 99)); // ( 'x': 9, 'uu': 99 )

@telephon telephon added bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. comp: class library SC class library labels May 20, 2016
telephon added a commit to telephon/supercollider that referenced this issue May 20, 2016
A stream returned from streamArg should call next before yield. This is
to mimic the `next` that the stream-consumer calls on the stream.

This fixes supercollider#2109.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. comp: class library SC class library
Projects
None yet
Development

No branches or pull requests

1 participant