Page MenuHomeDevCentral

Don't shadow variables
ClosedPublic

Authored by dereckson on Mar 7 2022, 20:14.
Tags
None
Referenced Files
F3614497: D2577.id.diff
Wed, Oct 2, 09:14
F3614484: D2577.id.diff
Wed, Oct 2, 09:05
Unknown Object (File)
Wed, Sep 18, 11:08
Unknown Object (File)
Tue, Sep 17, 22:29
Unknown Object (File)
Sat, Sep 7, 12:27
Unknown Object (File)
Fri, Sep 6, 00:27
Unknown Object (File)
Wed, Sep 4, 12:59
Unknown Object (File)
Sep 1 2024, 16:28
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.