mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
This didn't appear to be necessary because the Kotlin and Java versions of Map (for example) are designed to be compatible, but in certain cases their functions have the same erasure but not the same type (e.g. Map.getOrDefault(K, V) vs. Map.getOrDefault(Object, V). These have different erasures which was leading to callable-binding inconsistencies.
5 lines
93 B
Plaintext
5 lines
93 B
Plaintext
import java
|
|
|
|
from MethodAccess ma
|
|
select ma.getCallee().getAParameter().getType().toString()
|