mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
Use isFunction
This commit is contained in:
@@ -2442,7 +2442,7 @@ open class KotlinFileExtractor(
|
||||
}
|
||||
}
|
||||
tw.writeExprsKotlinType(id, type.kotlinResult.id)
|
||||
if (target.name.asString() == "inv" && (c.type.isByte() || c.type.isShort()))
|
||||
if (isFunction(target, "kotlin", "Byte or Short", { it == "Byte" || it == "Short" }, "inv"))
|
||||
unaryopReceiver(id, c.extensionReceiver, "Extension receiver")
|
||||
else
|
||||
unaryopDisp(id)
|
||||
|
||||
Reference in New Issue
Block a user