Happens, when in a same class I declare method with same name vscode won't say anything about that. But error tells me that mistake on a different location.