[JS IR BE] Put file names into JsDoc
This commit is contained in:
+1
@@ -47,6 +47,7 @@ class IrModuleToJsTransformer(
|
|||||||
statements += preDeclarationBlock
|
statements += preDeclarationBlock
|
||||||
|
|
||||||
module.files.forEach {
|
module.files.forEach {
|
||||||
|
statements.add(JsDocComment(mapOf("file" to it.path)).makeStmt())
|
||||||
statements.add(it.accept(IrFileToJsTransformer(), context))
|
statements.add(it.accept(IrFileToJsTransformer(), context))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user