Page MenuHomeDevCentral

Don't shadow variables
ClosedPublic

Authored by dereckson on Mar 7 2022, 20:14.
Tags
None
Referenced Files
F10394875: D2577.diff
Fri, Jul 4, 07:30
Unknown Object (File)
Sun, Jun 22, 14:34
Unknown Object (File)
Sun, Jun 22, 04:17
Unknown Object (File)
Sun, Jun 22, 04:15
Unknown Object (File)
Sat, Jun 21, 05:01
Unknown Object (File)
Fri, Jun 20, 13:52
Unknown Object (File)
Fri, Jun 13, 18:31
Unknown Object (File)
Fri, Jun 13, 18:26
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.