Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

object, array & call expression evaluation order #12

Closed
marten-de-vries opened this issue Jan 29, 2016 · 4 comments
Closed

object, array & call expression evaluation order #12

marten-de-vries opened this issue Jan 29, 2016 · 4 comments

Comments

@marten-de-vries
Copy link
Collaborator

Currently broken if await inside.

@marten-de-vries
Copy link
Collaborator Author

Rules to check for:

@marten-de-vries
Copy link
Collaborator Author

Hmm, strictly seen, the same is also true for every boolean operator. a() + await b() should call a first. Doable, I guess. Just a shame that it'll make the output less readable. Ah well.

@marten-de-vries
Copy link
Collaborator Author

So, TODO list:

  • binary expressions
  • call expressions
  • array expressions
  • object expressions

@marten-de-vries
Copy link
Collaborator Author

Fixed!

marten-de-vries added a commit that referenced this issue Feb 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant