KT-38003 "Analyze Data Flow from Here" should work on parameter of abstract method

#KT-38003 Fixed
This commit is contained in:
Valentin Kipyatkov
2020-04-08 14:08:24 +03:00
parent 612629f3cb
commit 2b83e3721a
9 changed files with 86 additions and 3 deletions
@@ -0,0 +1,15 @@
// FLOW: OUT
interface I {
fun foo(p: Any)
}
class C : I {
override fun foo(p: Any) {
println(p)
}
}
fun bar(i: I, s: String) {
i.foo(<caret>s)
}