Files
Argyrios Kyrtzidis 60a91bb736 [refactoring] Upstreaming the implementation for Swift local refactoring (#11568)
[refactoring] Upstreaming the implementation for Swift local refactoring
2017-08-22 16:50:16 -07:00

17 lines
192 B
Plaintext

class A {
var a = 2
fileprivate func new_name(_ newValue: Int) {
a = newValue
}
subscript(_ : Int) -> Int {
get {
return 1
}
set {
new_name(newValue)
}
}
}