[Analysis API] add tests for containing declaration for delegated member scope

This commit is contained in:
Ilya Kirillov
2022-10-24 23:41:53 +02:00
committed by teamcity
parent f5432127d1
commit e2416f48fe
9 changed files with 248 additions and 32 deletions
@@ -0,0 +1,8 @@
interface A<T> {
fun x(): T
fun y()
val c: T
val c: Int
}
class B<caret>B(a: A<Int>): A<Int> by a
@@ -0,0 +1,7 @@
fun x(): Int fromClass BB
fun y() fromClass BB
val c: Int fromClass BB
constructor(a: A<Int>) fromClass BB