mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Improve logging when function resolution fails
This commit is contained in:
committed by
Ian Lynagh
parent
7dfd99d873
commit
ae2ca183cc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user