Improve logging when function resolution fails

This commit is contained in:
Chris Smowton
2022-03-18 18:34:30 +00:00
committed by Ian Lynagh
parent 7dfd99d873
commit ae2ca183cc

View File

@@ -1070,7 +1070,7 @@ open class KotlinFileExtractor(
// If a path was found, repeatedly substitute types to get the corresponding specialisation of that ancestor.
return if (!walkFrom(receiverClass)) {
logger.errorElement("Failed to find a class declaring ${callTarget.name}", callTarget)
logger.errorElement("Failed to find a class declaring ${callTarget.name} starting at ${receiverClass.name}", callTarget)
listOf()
} else {
var subbedType = receiverType