[LL FIR] add more restrictions to getNonLocalContainingOrThisDeclaration
^KTIJ-25437 KT-MR-10036
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
package one
|
||||
|
||||
class A constructor(a: Int) {
|
||||
fun boo() {
|
||||
fun bar() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
val i: Int = 42
|
||||
|
||||
init {
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user