Closed more7dev closed 3 weeks ago
Just to clarify the code example: this error occurs during parsing any file in which the comment exists inside private class method:
class Test {
#privateMethod() {
//comment in private method
}
}
Without the comment it would be ok.
Can try recast-x
v1.0.5
I can confirm that it works in v1.0.5. Thank you for very fast fix.
I`m trying to use recast-x to parse JS code and I encountered an error:
Here is how it can be reproduced in the simplest way:
I have attached file Test.js to parse. Test.js.zip