Tag Archives: error

cannot convert return type int to return type ()->int

cannot convert return type int to return type ()->int If you are working with nested functions and you face such error while returning a function then see if you haven’t used parentheses after function name after return.