mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
In this circumstance the compiler seems to generate a specialised version of the implementing function with its argument type replaced by the interface-implementing child class' type parameter. However it stores a back-pointer to the real declared function, which we should use as the call target.
2 lines
75 B
Kotlin
2 lines
75 B
Kotlin
private fun user(s: SetImpl<String>) = s.contains("Hello") && "world" in s
|