2dae7ce6c1
For members of nested classes inside expect class `classWrapper.hasExpect()` would be false, because it only reflects modifiers of nested class itself and not aware of "expect" modifier inherited from the parent class. Fix is done in same way in PSI2FIR, see `PsiRawFirBuilder.Visitor.toFirProperty`. This fix now makes it possible to add test for functionality from previous commit. Review: KT-MR-12107 ^KT-61784