Files
swift-mirror/test/refactoring/ExtractFunction/Outputs/extract_init/L5-6.swift.expected
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

14 lines
167 B
Plaintext

class C {
var a : Int
var b : Int
fileprivate func new_name(_ a: Int, _ b: Int) {
self.a = a
self.b = b
}
init(a : Int, b: Int) {
new_name(a, b)
}
}