Rene Saarsoo
Rene Saarsoo
Hmm... this shouldn't happen. Are you perhaps using some older version of Lebab? This should not be converted to arrow-function at all, as it will break the use of `this`....
There is a case when you don't use `this`: ``` b = new function() { return "hello"; } ``` that'll be indeed converted to arrow-function: ``` b = new ()...
Thanks for reporting. That's definitely wrong result. The `xhr()` function should not have been transformed into class at all. This again confirms that the current class transform implementation is fundamentally...
I somewhat imagine what could be causing this, but could you provide some example code that causes this and name the transform that you're using. My first attempt of reproducing...
Turns out that the problem is caused by using `multi-var` and `let` transforms together - and in that particular order. Can be reproduced with the following code: ```js foo++; var...
Not a priority. Pull requests always welcome of course. 28.05.2017 8:10 AM kirjutas kuupäeval "Viatorus" : > Any news on this bug? > > — > You are receiving this...
Similarly we currently don't transform the following at all: ``` js function foo(a, b) { var rest = Array.prototype.slice.call(arguments, 2); console.log(a, b, rest); } ``` we'd really like to transform...
Yep, this looks like a great idea. Though in your code example, you have reversed the condition inside filter. A simple mistake I guess. Would be nice to also have...
No, I think that's it. I was wondering whether one could define a function internally using `this` that you could call before `super()` - but I think it's not possible....
Yeah, static methods and fields are currently not supported.