[swift-evolution] warnings for out of scope?

Dave Kliman dave.kliman at me.com
Wed Jan 25 02:25:12 CST 2017


I’m somewhat new to swift, so this issue may have been covered.

I really like how I get a warning for variables I’ve declared, but have not mutated, or constants that I did not read.

What about warnings for anything not accessed outside its declared scope, encouraging the use of private, or fileprivate more often?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170125/8941027a/attachment-0001.html>

More information about the swift-evolution mailing list