K2: Add test for obsolete KT-51793
^KT-51793 Fixed
This commit is contained in:
committed by
Space Team
parent
c745ef09d1
commit
69a6339935
@@ -0,0 +1,18 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-51793
|
||||
interface Key
|
||||
|
||||
interface Builder {
|
||||
operator fun Key.invoke()
|
||||
}
|
||||
|
||||
interface A : Builder
|
||||
interface B : Builder
|
||||
|
||||
val A.k: Key get() = TODO()
|
||||
|
||||
fun A.main() {
|
||||
fun B.bar() {
|
||||
k()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user