Sign in
go
/
tools
/
2dc7ebab284bdfe6bb7ae8b77c3cccb0049e13ce
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
invertifcondition
/
not_boolean.go
blob: def97164f34fcb95b00f50c8076bc068b674e264 [
file
] [
log
] [
blame
]
package invertifcondition
import (
"fmt"
)
func NotBoolean() {
b := true
if !b {
//@suggestedfix("if !b", "refactor.rewrite", "")
fmt.Println("A")
} else {
fmt.Println("B")
}
}