/* anchor (KtClass) --> */class Foo</* anchor (KtTypeParameter) --> */T/* <-- */> {
    /* anchor (KtNamedFunction) --> */fun </* anchor (KtTypeParameter) --> */F/* <-- */> bar() {
        fun <D> baz() {

        }
    }/* <-- */

    /* anchor (KtProperty) --> */val </* anchor (KtTypeParameter) --> */D/* <-- */> D.doo: Int /* anchor (KtPropertyAccessor) --> */get() = 0/* <-- *//* <-- */
}/* <-- */

/* anchor (KtNamedFunction) --> */fun </* anchor (KtTypeParameter) --> */F/* <-- */> bar() {
    fun <D> baz() {

    }
}/* <-- */

/* anchor (KtProperty) --> */val </* anchor (KtTypeParameter) --> */D/* <-- */> D.doo: Int /* anchor (KtPropertyAccessor) --> */get() = 0/* <-- *//* <-- */
