Page MenuHomeDevCentral

Don't shadow variables
ClosedPublic

Authored by dereckson on Mar 7 2022, 20:14.
Tags
None
Referenced Files
F12068366: D2577.id6511.diff
Tue, Sep 30, 22:22
F12068182: D2577.diff
Tue, Sep 30, 20:53
F12068147: D2577.id6510.diff
Tue, Sep 30, 20:42
Unknown Object (File)
Sun, Sep 28, 16:38
Unknown Object (File)
Sun, Sep 28, 16:37
Unknown Object (File)
Sat, Sep 27, 23:52
Unknown Object (File)
Mon, Sep 22, 01:16
Unknown Object (File)
Fri, Sep 19, 00:23
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.