blob: e0e6464b59a5bfd05248a1f8a6457297cf1bb46b [file] [log] [blame]
-- suggestedfix_extract_scope_11_9 --
package extract
import "go/ast"
func _() {
x0 := 0
if true {
y := ast.CompositeLit{} //@suggestedfix("ast.CompositeLit{}", "refactor.extract")
}
if true {
x := !false
x1 := x //@suggestedfix("!false", "refactor.extract")
}
}
-- suggestedfix_extract_scope_8_8 --
package extract
import "go/ast"
func _() {
x0 := 0
if true {
x := ast.CompositeLit{}
y := x //@suggestedfix("ast.CompositeLit{}", "refactor.extract")
}
if true {
x1 := !false //@suggestedfix("!false", "refactor.extract")
}
}