babel / kneden

Transpile ES2017 async/await to vanilla ES6 Promise chains: a Babel plugin
ISC License
514 stars 41 forks source link

object, array & call expression evaluation order #12

Closed marten-de-vries closed 8 years ago

marten-de-vries commented 8 years ago

Currently broken if await inside.

marten-de-vries commented 8 years ago

Rules to check for:

marten-de-vries commented 8 years ago

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 commented 8 years ago

So, TODO list:

marten-de-vries commented 8 years ago

Fixed!