[IR] Fix compatibility mode
- pass corresponding flag to mangler - properly handle local declarations in field initializers - fix KT-48912
This commit is contained in:
committed by
TeamCityServer
parent
8f8c59e748
commit
ba759fb61b
@@ -32,7 +32,7 @@ import kotlin.math.abs
|
||||
private fun <T> mapToKey(declaration: T): String {
|
||||
return with(JsManglerIr) {
|
||||
if (declaration is IrDeclaration) {
|
||||
declaration.hashedMangle().toString()
|
||||
declaration.hashedMangle(compatibleMode = false).toString()
|
||||
} else if (declaration is String) {
|
||||
declaration.hashMangle.toString()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user