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
+13
View File
@@ -0,0 +1,13 @@
// FLOW: OUT
open class C {
open fun foo(<caret>p: Any) {
println(p)
}
}
class D : C() {
override fun foo(p: Any) {
println(p + 1)
}
}