FILE: test.kt
    public final class B : R|A| {
        public constructor(): R|B| {
            super<R|A|>()
        }

        public final override fun foo(): R|B| {
            ^foo this@R|/B|
        }

        public final fun bar(): R|B| {
            ^bar this@R|/B|
        }

        public final fun test(): R|kotlin/Unit| {
            this@R|/B|.R|/B.foo|()
            this@R|/B|.R|/B.bar|()
        }

    }
