KT-11404: additional test to cover indirect inheritance
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// "Let 'B' implement interface 'A'" "false"
|
||||
// ACTION: Add 'a =' to argument
|
||||
// ACTION: Convert to expression body
|
||||
package let.implement
|
||||
|
||||
fun bar() {
|
||||
foo(B()<caret>)
|
||||
}
|
||||
|
||||
|
||||
fun foo(a: A) {
|
||||
}
|
||||
|
||||
interface A
|
||||
interface InBetween : A
|
||||
class B : InBetween
|
||||
Reference in New Issue
Block a user