Code classifier correctly detects that a duplicated in parent scope open declaration is redundant