Page MenuHomeDevCentral

Don't shadow variables
ClosedPublic

Authored by dereckson on Mar 7 2022, 20:14.
Tags
None
Referenced Files
F9612054: D2577.id6510.diff
Tue, Jun 10, 01:39
F9612025: D2577.id6511.diff
Tue, Jun 10, 01:38
F9604192: D2577.diff
Mon, Jun 9, 20:05
Unknown Object (File)
Sun, Jun 8, 01:13
Unknown Object (File)
Fri, Jun 6, 01:41
Unknown Object (File)
Sun, Jun 1, 12:43
Unknown Object (File)
Sat, May 31, 12:25
Unknown Object (File)
Sat, May 31, 12:13
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.