KT-12015 (Kotlin Lint False Positive for Bundle.getInt())
Java approach is not sufficient here, in Kotlin receivers can be implicit. Use Kotlin extension/dispatch receivers to figure out the receiver type for our method call. (cherry picked from commit cdedf1d)
This commit is contained in:
@@ -21,6 +21,8 @@ import org.jetbrains.uast.visitor.UastVisitor
|
||||
* Represents a call expression (function call, constructor call, array initializer).
|
||||
*/
|
||||
interface UCallExpression : UExpression, UResolvable {
|
||||
val receiverType: UType?
|
||||
|
||||
/**
|
||||
* Returns the call kind.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user