Specify type explicitly: suggest also types from overridden
So #KT-22092 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// DO_NOT_CHOOSE_NOTHING
|
||||
|
||||
interface I {
|
||||
fun foo(): String?
|
||||
}
|
||||
|
||||
class Test : I {
|
||||
override fun foo()<caret> = null
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// DO_NOT_CHOOSE_NOTHING
|
||||
|
||||
interface I {
|
||||
fun foo(): String?
|
||||
}
|
||||
|
||||
class Test : I {
|
||||
override fun foo(): String? = null
|
||||
}
|
||||
Reference in New Issue
Block a user