meteor / reify

Enable ECMAScript 2015 modules in Node today. No caveats. Full stop.
MIT License
6 stars 3 forks source link

Fix TLA not detecting top level declarations with await #8

Closed leonardoventurini closed 4 months ago

leonardoventurini commented 5 months ago

Properly detect top level await by checking if the awaits are inside any function node.

leonardoventurini commented 3 months ago

This solves:

https://github.com/meteor/meteor/issues/12986