Page MenuHomeDevCentral

Don't shadow variables
ClosedPublic

Authored by dereckson on Mar 7 2022, 20:14.
Tags
None
Referenced Files
F7089730: D2577.id6510.diff
Sun, Apr 20, 13:28
F7066214: D2577.id6511.diff
Sun, Apr 20, 03:35
F7065304: D2577.id.diff
Sun, Apr 20, 03:01
F7063674: D2577.id.diff
Sun, Apr 20, 02:02
Unknown Object (File)
Sat, Apr 19, 03:29
Unknown Object (File)
Wed, Apr 16, 10:38
Unknown Object (File)
Tue, Apr 15, 00:18
Unknown Object (File)
Sun, Apr 13, 04:45
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.