Fix JS source maps for objects and enums
This commit is contained in:
@@ -132,6 +132,8 @@ class LineCollector : RecursiveJsVisitor() {
|
||||
|
||||
override fun visit(x: JsSwitch) {
|
||||
withStatement(x) {
|
||||
handleNodeLocation(x)
|
||||
lineNumbersByStatement[x]?.add(-1)
|
||||
x.expression.accept(this)
|
||||
x.cases.forEach { accept(it) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user