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

Object literals that are parenthesized don't get {}'s #8

Closed
rstacruz opened this Issue Jun 4, 2011 · 0 comments

Comments

Projects
None yet
1 participant
@rstacruz
Copy link
Member

rstacruz commented Jun 4, 2011

({a:2, b:3}); (JS) compiles to this:

(
  a: 2
  b: 3
)

Which should instead be either opened/closed by ({ and }), or not wrapped at all.

@rstacruz rstacruz closed this in 898c0bc Jun 8, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.