Fix for KT-6312: Compiler crashes accessing inherited property of class object

    #KT-6312 Fixed