KT-5527 Double TYPE_MISMATCH diagnostic when returns object
 #KT-5527 Fixed