Fixed variable that holds a function or closure cannot be called
Fixed incorrect argument type generates an incorrect error message