Rene Saarsoo
Rene Saarsoo
Adding support for static fields is currently problematic as this is not part of official ECMAScript syntax and Espree parser (which Lebab uses) doesn't support it. Supporting static methods should...
The first example looks weird. The `aF` function is basically pass-through - why would anybody write such code. It also doesn't actually work as the function `promise` is never called....
@tunnckoCore Ah, I guess my comment was pretty ambiguous. My concern wasn't about babylon, but about Recast supporting the things babylon supports.
Ah, that's great to hear. I definitely have to try it out then.
Well, I can only speak for Lebab, which doesn't have anything like that. One of the main complexities with promise to await conversion, is that promise execution is asynchronous, while...
This last example of yours looks pretty neat. > - are there other cases where a directly called function could be optimized away? Not sure I really understand what sort...
Hi @SindreSvendby, thanks for your efforts. Unfortunately the fix for this isn't really quite as simple. Here's a test that will fail as a result of your changes: ```js it('should...
Sorry, didn't mean to be off-putting. Let me put it differently: There are no boring issues to tackle, they all offer a good challenge. T, 16. oktoober 2018 22:29 Uni...
Currently the fundamental problem is that while this `withScope()` helper gives us scope information about existing variables (so we can avoid conflicts when introducing new ones), but the information will...
BTW. You're right about the class transform - it does need a rewrite to properly fix majority of its problems. I looked through other issues, and found two possibly simpler...