expected return type for function literal cannot depend on expected type of outer function
#KT-2200 fixed #KT-2283 fixed