Page MenuHomeDevCentral

Don't shadow variables
ClosedPublic

Authored by dereckson on Mar 7 2022, 20:14.
Tags
None
Referenced Files
F7810837: D2577.id.diff
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
Unknown Object (File)
Fri, Apr 25, 16:17
Unknown Object (File)
Wed, Apr 23, 11:30
Unknown Object (File)
Tue, Apr 22, 15:16
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.