[K/JS] Add warning for ES-modules on the klibgen stage on the uniqueness of the exported names from the module
This commit is contained in:
@@ -50,7 +50,8 @@ interface IncrementalResultsConsumer {
|
||||
declarations: ByteArray,
|
||||
bodies: ByteArray,
|
||||
fqn: ByteArray,
|
||||
debugInfo: ByteArray?
|
||||
fileMetadata: ByteArray,
|
||||
debugInfo: ByteArray?,
|
||||
)
|
||||
}
|
||||
|
||||
@@ -136,9 +137,10 @@ open class IncrementalResultsConsumerImpl : IncrementalResultsConsumer {
|
||||
declarations: ByteArray,
|
||||
bodies: ByteArray,
|
||||
fqn: ByteArray,
|
||||
debugInfo: ByteArray?
|
||||
fileMetadata: ByteArray,
|
||||
debugInfo: ByteArray?,
|
||||
) {
|
||||
_irFileData[sourceFile] = IrTranslationResultValue(fileData, types, signatures, strings, declarations, bodies, fqn, debugInfo)
|
||||
_irFileData[sourceFile] = IrTranslationResultValue(fileData, types, signatures, strings, declarations, bodies, fqn, fileMetadata, debugInfo)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ package org.jetbrains.kotlin.incremental.js
|
||||
|
||||
data class TranslationResultValue(val metadata: ByteArray, val binaryAst: ByteArray, val inlineData: ByteArray)
|
||||
|
||||
|
||||
data class IrTranslationResultValue(
|
||||
val fileData: ByteArray,
|
||||
val types: ByteArray,
|
||||
@@ -27,5 +26,6 @@ data class IrTranslationResultValue(
|
||||
val declarations: ByteArray,
|
||||
val bodies: ByteArray,
|
||||
val fqn: ByteArray,
|
||||
val debugInfo: ByteArray?
|
||||
)
|
||||
val fileMetadata: ByteArray,
|
||||
val debugInfo: ByteArray?,
|
||||
)
|
||||
Reference in New Issue
Block a user