Files
codeql/java
Anders Fugmann 5732a99f9d Kotlin 2.4.0: Fix extension receiver on property references
In 2.4.0's unified parameters model, IrPropertyReference stores the bound
extension receiver in the arguments list (indexed via the getter's extension
receiver parameter). Our codeQlExtensionReceiver compat function only
handled the case where symbol.owner is an IrFunction, returning null for
IrPropertyReference (where symbol.owner is IrProperty).

Fix: when the direct cast to IrFunction fails, look at the getter/setter
function's parameters to find the extension receiver index.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-08 11:50:56 +02:00
..
2026-06-04 12:58:52 +02:00