[SR-3721] Unused global variable detection #46306
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
Additional Detail from JIRA
md5: 206c77cf9a5b3c05ea02fd224ebd6539
Issue Description:
Swift does not report un-used global variables, or recommend let modifications for un-mutated vars. This feature would be very valuable for swift as a scripting language, where it is common to have a lot of top level code.
The text was updated successfully, but these errors were encountered: