Don't suggest making interface member final

(which was possible in leaking this inspection)
So #KT-14443 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-05-18 19:52:07 +03:00
committed by Mikhail Glukhikh
parent a73cf0e1fe
commit 17869abfaf
5 changed files with 46 additions and 0 deletions
@@ -0,0 +1,14 @@
// PROBLEM: Calling non-final function foo in constructor
interface My {
fun foo() {}
}
class Your : My {
init {
// exactly one fix action should be here (make 'Your' final)
// making 'foo' final will provoke an error
<caret>foo()
}
}