Files
swift-mirror/test/refactoring/ExtractExpr/Outputs/basic/C13-26.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

9 lines
140 B
Plaintext

func foo1() -> Int { return 0 }
func foo(_ a : Int) -> Int {
let new_name: Int = 1 + 2 + 2 + a
var aaa = new_name + foo1()
return 1
}