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

Refine #4588: disallow inline chained call after function glyph #4590

Merged

Conversation

helixbass
Copy link
Collaborator

Per @connec's comment in #4588, distinguish between "inline" and line-break chaining when interpreting -> followed by . in the token stream as (->).

So a -> .b will error (added test) while

a ->
.b

is still interpreted as a(->).b via #4588

@connec
Copy link
Collaborator

connec commented Jun 26, 2017

Nice, thanks for investigating 😄

…_inline_chain_after_func_glyph

# Conflicts:
#	test/error_messages.coffee
@GeoffreyBooth GeoffreyBooth merged commit 58c6086 into jashkenas:2 Jun 30, 2017
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

Successfully merging this pull request may close these issues.

3 participants