-- functionextraction_extract_unnecessary_param_6_2 -- | |
package extract | |
func _() { | |
var b []int | |
var a int | |
//@mark(exSt8, "a") | |
a, b = newFunction(b) //@mark(exEn8, ")") | |
b[0] = 1 | |
if a == 2 { | |
return | |
} | |
//@extractfunc(exSt8, exEn8) | |
} | |
func newFunction(b []int) (int, []int) { | |
a := 2 | |
b = []int{} | |
b = append(b, a) | |
return a, b | |
} | |