KT-5076 Error on inlining into object

   #KT-5076 Fixed