Cannot infer a return type because more than one type is possible. Consider adding an 'As' clause to specify the return type. ...