Page MenuHomeDevCentral

Don't shadow variables
ClosedPublic

Authored by dereckson on Mar 7 2022, 20:14.
Tags
None
Referenced Files
F53058261: D2577.id6510.diff
Tue, Oct 6, 19:30
Unknown Object (File)
Sun, Sep 27, 21:55
Unknown Object (File)
Sun, Sep 27, 09:17
Unknown Object (File)
Tue, Sep 22, 23:42
Unknown Object (File)
Mon, Sep 21, 08:19
Unknown Object (File)
Fri, Sep 18, 09:12
Unknown Object (File)
Sat, Sep 12, 08:08
Unknown Object (File)
Fri, Sep 11, 05:27
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.