Page MenuHomeDevCentral

Don't shadow variables
ClosedPublic

Authored by dereckson on Mar 7 2022, 20:14.
Tags
None
Referenced Files
F7971488: D2577.diff
Tue, May 6, 02:23
Unknown Object (File)
Sun, May 4, 01:22
Unknown Object (File)
Sun, May 4, 01:21
Unknown Object (File)
Sat, May 3, 07:38
Unknown Object (File)
Wed, Apr 30, 10:12
Unknown Object (File)
Tue, Apr 29, 02:21
Unknown Object (File)
Mon, Apr 28, 09:04
Unknown Object (File)
Fri, Apr 25, 21:46
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.