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
183 B
Plaintext

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