On Sunday, 24 November 2013 at 15:39:20 UTC, Maxim Fomin wrote:

No way compiler could guess that you have bool f in mind.

Sorry if I didn't explain the example properly.

The `bool f` variable was in my code and it works correctly, but compiler didn't put attention that I have identifiers shadowing issue. After big code refactoring I wrongly commented the `bool f` variable.

So, nothing happens if compiler provides identifier shadowing error - I'll just rename variable. Is it possible to implement?

Reply via email to