[FIR] Replace kotlin/Throwable with java/lang/Throwable in JvmMappedScope

#KT-39044 Fixed
This commit is contained in:
Dmitriy Novozhilov
2020-06-30 12:59:42 +03:00
parent 624b9306f0
commit 648953085f
5 changed files with 17 additions and 2 deletions
@@ -30,12 +30,12 @@ class JvmMappedScope(
val jvmSignature = symbol.fir.computeJvmDescriptor()
.replace("kotlin/Any", "java/lang/Object")
.replace("kotlin/String", "java/lang/String")
.replace("kotlin/Throwable", "java/lang/Throwable")
if (jvmSignature in whiteListSignatures) {
processor(symbol)
}
}
declaredMemberScope.processFunctionsByName(name, processor)
}