HomeSealhub

When lint identifies an unknown symbol, attempt to correct it if it is…

Description

When lint identifies an unknown symbol, attempt to correct it if it is miscapitalized

Summary:
Ref T13598. If you spell a symbol like "Polygon" as "PoLyGoN", you currently get an "unknown symbol" lint message. However, provided "Polygon" is a valid symbol, we can unambiguously correct the spelling of the symbol.

Note that this patch can only correct the spelling of application symbols, not builtin symbols (since none of the library maps contain builtin symbols).

Test Plan: {F8374599}

Maniphest Tasks: T13598

Differential Revision: https://secure.phabricator.com/D21537

Details

Provenance
epriestleyAuthored on Feb 3 2021, 17:23
kuba-orlikPushed on Jan 24 2022, 10:17
Parents
R118:b2e715fc5a9c: Provide "gitsprintf(...)" and disambiguate Git ref selectors
Branches
Unknown
Tags
Unknown

Event Timeline