Page MenuHomeDevCentral

Don't shadow variables
ClosedPublic

Authored by dereckson on Mar 7 2022, 20:14.
Tags
None
Referenced Files
F19589562: D2577.id6510.diff
Wed, Dec 31, 17:08
F19583611: D2577.id.diff
Wed, Dec 31, 00:07
Unknown Object (File)
Mon, Dec 29, 20:53
Unknown Object (File)
Fri, Dec 26, 05:57
Unknown Object (File)
Thu, Dec 25, 16:39
Unknown Object (File)
Wed, Dec 24, 22:26
Unknown Object (File)
Tue, Dec 23, 11:54
Unknown Object (File)
Fri, Dec 19, 17:21
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.