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

{a.b.c} does not compile #163

Open
andrewrk opened this issue Aug 24, 2012 · 3 comments
Open

{a.b.c} does not compile #163

andrewrk opened this issue Aug 24, 2012 · 3 comments

Comments

@andrewrk
Copy link

code:

winston.error "Error processing job: ", {err.internal.stack}

expected:

winston.error("Error processing job: ", {
  stack: err.internal.stack
});

actual:

Error: Parse error on line 1: Unexpected 'DOT'
@vendethiel
Copy link
Contributor

You have to use {(a.b)c}.
@satyr apparently didn't achieved to "tame jison well enough" (his own words)
See jashkenas/coffeescript#1089
You can even use more complicated exemples : {(templates.ui.3.accounts!)accountBadge}

@satyr
Copy link
Owner

satyr commented Aug 25, 2012

https://github.com/satyr/coco/blob/0.8.1/src/grammar.co#L235

@satyr apparently didn't achieved to "tame jison well enough" (his own words)

Right. Patches welcome. ;)

@vendethiel
Copy link
Contributor

I wasn't trying to say "I could've done that" in any way.

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