fix: NPE on method lookup (#195)

This commit is contained in:
LisoUseInAIKyrios 2023-06-28 23:56:03 +04:00 committed by GitHub
parent 72783a5e74
commit fcef4342e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -207,7 +207,7 @@ abstract class MethodFingerprint(
append(returnTypeValue.first())
if (parameters != null) appendParameters(parameters)
}
return methodSignatureLookupMap[key]!!
return methodSignatureLookupMap[key] ?: return emptyList()
}
/**