Sign in
go
/
tools
/
b9adce94b7f1960056e7c2866b1a5b70a237adfe
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
extract
/
extract_variable
/
extract_scope.go
blob: c14ad709212002b042f605e3be5b0ea9a470aad9 [
file
] [
log
] [
blame
]
package extract
import "go/ast"
func _() {
x0 := 0
if true {
y := ast.CompositeLit{}
//@suggestedfix("ast.CompositeLit{}", "refactor.extract", "")
}
if true {
x1 := !false
//@suggestedfix("!false", "refactor.extract", "")
}
}