Page MenuHomeDevCentral

Don't shadow variables
ClosedPublic

Authored by dereckson on Mar 7 2022, 20:14.
Tags
None
Referenced Files
F10830644: D2577.id.diff
Mon, Jul 28, 05:16
F10830305: D2577.id6511.diff
Mon, Jul 28, 04:57
F10826305: D2577.diff
Mon, Jul 28, 01:17
F10815981: D2577.id6510.diff
Sun, Jul 27, 15:20
Unknown Object (File)
Sun, Jul 27, 04:46
Unknown Object (File)
Fri, Jul 25, 14:41
Unknown Object (File)
Sat, Jul 19, 09:36
Unknown Object (File)
Thu, Jul 17, 18:07
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.