Skip to content

Parsing error with dict with variable key and no space before colon #158

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

Closed
whonore opened this issue Jan 27, 2020 · 1 comment
Closed

Comments

@whonore
Copy link

whonore commented Jan 27, 2020

let x = 'x'
let d = { x: 2 }

This code raises the error unexpected token: 2: line 2 col 13. Inserting a space between x and : makes it work.

@tyru
Copy link
Member

tyru commented Mar 6, 2020

duplicated. see #79

@tyru tyru closed this as completed Mar 6, 2020
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

2 participants