Page MenuHomeDevCentral

Don't shadow variables
ClosedPublic

Authored by dereckson on Mar 7 2022, 20:14.
Tags
None
Referenced Files
F56062073: D2577.id.diff
Mon, Nov 2, 11:54
F55959102: D2577.id6511.diff
Sun, Nov 1, 18:48
F55953677: D2577.id6510.diff
Sun, Nov 1, 18:09
Unknown Object (File)
Sun, Nov 1, 01:09
Unknown Object (File)
Fri, Oct 30, 08:52
Unknown Object (File)
Tue, Oct 27, 18:45
Unknown Object (File)
Sun, Oct 25, 20:52
Unknown Object (File)
Sat, Oct 24, 23:22
Subscribers
None

Details

Summary

Variables like id and list are built-ins.

A method argument can't share the same name with the procedural code.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Mar 7 2022, 20:16
This revision was landed with ongoing or failed builds.Mar 7 2022, 20:16
This revision was automatically updated to reflect the committed changes.