escodegen
escodegen copied to clipboard
Comment in arguments
It you have a comment in argument list of a function, then the comment is not included in the output.
function f1(a, /* my comment */ c) {
}
generates
function f1(a, c) {
}
It seems like the attachComments() function place the comment at the right place, namely as leading comment to argument 'c', so the issue is only in the code generator.
-Thomas