[LL FIR] add more restrictions to getNonLocalContainingOrThisDeclaration

^KTIJ-25437
KT-MR-10036
This commit is contained in:
Dmitrii Gridin
2023-05-09 11:18:45 +02:00
parent ff65324172
commit 09dbae5eca
26 changed files with 1518 additions and 1 deletions
@@ -0,0 +1,17 @@
package one
class A constructor(a: Int) {
fun boo() {
fun bar() {
}
}
val i: Int = 42
init {
fun foo() {
}
}
}