Unused recursive function not highlighted as being unused.
opened this issue · comments
Deleted user commented
unused_non_recursive_func() is highlighted by vs code since it is unused, but unused_recursive_func(flag: Bool) is not highlighted since it is used within itself, which convinces vscode that it is being used. I think this is wrong and that unused_recursive_func(flag: Bool) should be marked as unused.
The same situation but in rust and using the rust-analyzer extension:
Louis Pilfold commented
Aye, this is a known issue with the dead code detection. This feature is due a full rewrite and will cover this case when that happens. Thank you, and sorry for the annoyance of this problem.