fileprivate func new_name() -> Int { var aaa = 1 + 2 aaa = aaa + 3 if aaa == 3 { aaa = 4 } return aaa } func foo() -> Int{ return new_name() }