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

Why is this an error: a b: 1, c.d #2449

Closed
thepatrick opened this issue Jul 20, 2012 · 5 comments
Closed

Why is this an error: a b: 1, c.d #2449

thepatrick opened this issue Jul 20, 2012 · 5 comments

Comments

@thepatrick
Copy link

It generates: PARSE ERROR ON LINE 1: UNEXPECTED '.'

Is this a bug?

@michaelficarra
Copy link
Collaborator

See #1089.

@thepatrick
Copy link
Author

Ah, ok, so coffee is, mistakenly*, thinking I want c.d to be part of the object being created by the b:1?

(My intention is more like when you do a b: 1, -> - ie. it would be a({b:1}, c.d))

  • by which I mostly mean "insufficiently reading my mind" :)

@erisdev
Copy link

erisdev commented Jul 20, 2012

Yeah, I don't really like it, but it's apparently intentional.

@satyr
Copy link
Collaborator

satyr commented Jul 20, 2012

#1111

apparently intentional

Nope. #1061 intended to fix this as well, but failed.

@satyr satyr closed this as completed Jul 20, 2012
@erisdev
Copy link

erisdev commented Jul 21, 2012

Oh, huh. I suppose the tone of the response I got when I brought this issue up was one of resignation rather than authority, then. Sorry to misinform!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants