This is an archive of the discontinued Mercurial Phabricator instance.

narrow: avoid overwriting a variable
ClosedPublic

Authored by martinvonz on Oct 3 2018, 1:25 AM.

Details

Summary

I don't like to overwrite variables, especially not with a different
type (because it makes it harder to explain what the variable is for,
and, therefore, to name it well).

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Oct 3 2018, 1:25 AM
pulkit accepted this revision.Oct 3 2018, 6:47 AM
This revision was automatically updated to reflect the committed changes.