[swift-evolution] warnings for out of scope?
devteam.codafi at gmail.com
Wed Jan 25 12:27:13 CST 2017
So, to be clear, a warning about making internal variables more private based on their usage in the entire module?
Sounds doable. Probably wouldn't need to go through evolution to get it too (but I'll let others make that call). Please file an SR about this too.
2017/01/25 3:25、Dave Kliman via swift-evolution <swift-evolution at swift.org> のメッセージ:
> 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?
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution