[Sourcemap] Introduce getCurrentColumn and stop using TextOutput directly
The general goal is remove dependency on TextOutput and make it simpler to use for wasm backend.
This commit is contained in:
committed by
Space Team
parent
e34d3d09bc
commit
fb4dcc6a6a
@@ -75,7 +75,7 @@ private fun mergeStdlibParts(outputFile: File, wrapperFile: File, baseDir: File,
|
||||
|
||||
val sourceMapFile = File(outputFile.parentFile, outputFile.name + ".map")
|
||||
val textOutput = TextOutputImpl()
|
||||
val sourceMapBuilder = SourceMap3Builder(outputFile, textOutput, "")
|
||||
val sourceMapBuilder = SourceMap3Builder(outputFile, textOutput::getColumn, "")
|
||||
val consumer = SourceMapBuilderConsumer(
|
||||
File("."),
|
||||
sourceMapBuilder,
|
||||
|
||||
Reference in New Issue
Block a user