blob: 74df67ee65f5d36c5c4dd6d71c5d21343fa91764 [file] [log] [blame]
-- suggestedfix_extract_func_call_6_7 --
package extract
import "strconv"
func _() {
x0 := append([]int{}, 1)
a := x0 //@suggestedfix("append([]int{}, 1)", "refactor.extract")
str := "1"
b, err := strconv.Atoi(str) //@suggestedfix("strconv.Atoi(str)", "refactor.extract")
}
-- suggestedfix_extract_func_call_6_8 --
package extract
import "strconv"
func _() {
x := append([]int{}, 1)
x0 := x //@suggestedfix("append([]int{}, 1)", "refactor.extract")
str := "1"
b, err := strconv.Atoi(str) //@suggestedfix("strconv.Atoi(str)", "refactor.extract")
}
-- suggestedfix_extract_func_call_8_12 --
package extract
import "strconv"
func _() {
x0 := append([]int{}, 1) //@suggestedfix("append([]int{}, 1)", "refactor.extract")
str := "1"
x, x1 := strconv.Atoi(str)
b, err := x, x1 //@suggestedfix("strconv.Atoi(str)", "refactor.extract")
}