Set parent for non-lazy declarations

This commit is contained in:
Mikhael Bogdanov
2018-07-27 10:10:54 +02:00
parent c19d45a2fc
commit 952bc6da63
@@ -82,6 +82,10 @@ class IrLazyClass(
generateMemberStubs(descriptor.defaultType.memberScope, it)
generateMemberStubs(descriptor.staticScope, it)
}
}.also {
it.forEach {
it.parent = this //initialize parent for non lazy cases
}
}
}