Sign in
go
/
tools
/
c924e603b56b35e41529f44881503e25c6497e4d
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
invertifcondition
/
remove_else.go
blob: a8e39e7f4cb13215954af536e15e748d3534f80b [
file
] [
log
] [
blame
]
package invertifcondition
import (
"fmt"
)
func RemoveElse() {
if true {
//@suggestedfix("if true", "refactor.rewrite", "")
fmt.Println("A")
} else {
fmt.Println("B")
return
}
fmt.Println("C")
}