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

bring method chaining in sync with new jashkenas/coffee-script behaviour #262

Open
michaelficarra opened this issue Dec 8, 2013 · 2 comments

Comments

@michaelficarra
Copy link
Owner

michaelficarra commented Dec 8, 2013

See jashkenas/coffeescript#3263. This one's probably going to be pretty hard, since it's inconsistent. In explicit call context, the member access would attach to the preceding token, but in an implicit call, it attaches to the function call, closing it. Possibly go one step further and make all spaced member access close implicit calls, ala Coco?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2268307-bring-method-chaining-in-sync-with-new-jashkenas-coffee-script-behaviour?utm_campaign=plugin&utm_content=tracker%2F33145&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F33145&utm_medium=issues&utm_source=github).
@vendethiel
Copy link
Contributor

That's what I'd want to see, yes.

@nfour
Copy link

nfour commented Dec 10, 2013

+1 for coco's implementation. I felt like CS 1's chaining was a long overdue victory for the language; but this would be even better.

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

3 participants