JVM_IR: use fresh source map when generating lambda body for inline.
This commit is contained in:
committed by
max-kammerer
parent
72b80ef158
commit
2352b1fec5
@@ -171,6 +171,14 @@ object IdenticalSourceMapper : SourceMapper {
|
||||
get() = null
|
||||
|
||||
override fun mapLineNumber(lineNumber: Int) = lineNumber
|
||||
|
||||
override fun mapLineNumber(source: Int, sourceName: String, sourcePath: String): Int {
|
||||
throw UnsupportedOperationException(
|
||||
"IdenticalSourceMapper#mapLineNumber($source, $sourceName, $sourcePath)\n"
|
||||
+ "This mapper should not encounter a line number out of range of the current file.\n"
|
||||
+ "This indicates that SMAP generation is missed somewhere."
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
class CallSiteMarker(val lineNumber: Int)
|
||||
|
||||
Reference in New Issue
Block a user