Closed
Description
We're translating an existing Java project that unfortunately has many uses of typeof
as a Java variable name. It's easy enough for us to rename these but not as easy to prevent regressions in new code, since the pattern has been so widely used before.
Would it be reasonable to add a check for reserved words here and append an "_" if a variable name is found in an array of reserved words?
Want to check before going down this path to see if it's something you have considered in the past and whether there are any gotchas I should be aware of.
Metadata
Assignees
Labels
No labels
Activity