On 18.05.2016 22:43, Krystof Vasa wrote:
I agree that shadowing variables is not a good idea, but I stand by my point that it's potentially dangerous and error-prone to allow accessing instance variables without `self`.
Could we all agree that we need these options: 1. option to turn on warnings on accessing instance variables without `self` 2. option to turn on warnings on shadowing And that by default, none of that options should be enabled. ? _______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution