KT-5971 Missing error when fun argument is safe call
 #KT-5971 Fixed