KT-11404: additional test to cover indirect inheritance

This commit is contained in:
Mikhail Glukhikh
2016-04-04 13:58:45 +03:00
parent 1e6f507f5e
commit 640ae60a6b
2 changed files with 22 additions and 0 deletions
@@ -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