"Convert to anonymous object" quickfix: false negative when interface has concrete members
#KT-37908 Fixed
This commit is contained in:
committed by
Yan Zhulanow
parent
5b927d798c
commit
111b2945e1
@@ -0,0 +1,15 @@
|
||||
// "Convert to anonymous object" "true"
|
||||
interface I {
|
||||
fun a()
|
||||
fun b() {}
|
||||
}
|
||||
|
||||
fun foo(i: I) {}
|
||||
|
||||
fun test() {
|
||||
foo(object : I {
|
||||
override fun a() {
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user