Fix signature mapping for built-in methods inside erased inline class

This commit is contained in:
Mikhail Zarechenskiy
2018-06-18 15:09:27 +03:00
parent 8503194e0d
commit 6431934c13
9 changed files with 85 additions and 1 deletions
@@ -1257,7 +1257,7 @@ public class KotlinTypeMapper {
JvmMethodGenericSignature signature = sw.makeJvmMethodSignature(mapFunctionName(f));
if (kind != OwnerKind.DEFAULT_IMPLS && !hasSpecialBridge) {
if (kind != OwnerKind.DEFAULT_IMPLS && kind != OwnerKind.ERASED_INLINE_CLASS && !hasSpecialBridge) {
SpecialSignatureInfo specialSignatureInfo = BuiltinMethodsWithSpecialGenericSignature.getSpecialSignatureInfo(f);
if (specialSignatureInfo != null) {