func test(inout name:String) { func parse_name(inout name:String) { name = "new \(name)"; } parse_name(&name); } var name = "1v20"; test(&name); println(name);
func test(inout name:String) { func parse_name(inout name:String) { name = "new \(name)"; } parse_name(&name); } var name = "1v20"; test(&name); println(name);