Page MenuHomeDevCentral

Don't shadow variables
ClosedPublic

Authored by dereckson on Mar 7 2022, 20:14.
Tags
None
Referenced Files
F34184243: D2577.id6510.diff
Fri, Jun 26, 06:00
Unknown Object (File)
Tue, Jun 23, 16:05
Unknown Object (File)
Sun, Jun 21, 15:22
Unknown Object (File)
Sun, Jun 21, 08:11
Unknown Object (File)
Thu, Jun 18, 04:23
Unknown Object (File)
Thu, Jun 18, 04:07
Unknown Object (File)
Mon, Jun 15, 19:32
Unknown Object (File)
Sun, Jun 14, 05:01
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.