mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
VarPattern is today used to implement both 'let' and 'var' pattern bindings, so today is already misleading. The reason why the name Var was chosen was done b/c it is meant to represent a pattern that performs 'variable binding'. Given that I am going to add a new 'inout' pattern binding to this, it makes sense to give it now a better fitting name before I make things more confusing.
2.0 KiB
2.0 KiB