You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is very annoying message because it comes without an explanation. Often appears when I convert an existing function-like class into a class-like function to write a proper interface without actually changing the implementation:
The return statement with the entire returned expression is highlighted and this confusing error is given. In many cases I end up commenting/uncommenting parts of the interface to find which members are causing this errors. In some cases I gave up and I had to case the result to any.