New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi-var
transform conflicts with let
transform
#205
Comments
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 this didn't succeed. |
the usage:
I'm sorry, i don't know what atual file cause the problem. The files i try to transform is from https://github.com/traceglMPL/tracegl/ You can try https://github.com/traceglMPL/tracegl/blob/master/tracegl.js. Mind that some string like "\033" would break down babylon and lebab. use "\x1b" |
Turns out that the problem is caused by using foo++;
var foo = 1, bar = 2; The problem is that these transforms modify the same things and as a result step on each others toes.
Thanks for the bug report. |
var
multi-var
transform conflicts with let
transform
Any news on this bug? |
Not a priority. Pull requests always welcome of course.
28.05.2017 8:10 AM kirjutas kuupäeval "Viatorus" <notifications@github.com>:
… Any news on this bug?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#205 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAHNuQ_ddRExsxtjJ774P3OivBoPs-hyks5r-WQ0gaJpZM4LbolJ>
.
|
First:
I try to convert some file with var declaration.
got error stacktrace:
It turns out
VariableDeclaration
doesn't have loc property. But theLogger
try to log the locationThe text was updated successfully, but these errors were encountered: