Hi,
I got the following warning in editor: “Unnecessary ‘else’ after ‘return’”. I tried to understand the issue and seems warning is not always displayed correctly. For reference I wrote two functions which actually do the same work. For foo1 I get the warning, however code looks to be correct.
Thanks,
Dima