Sign in
go
/
tools
/
e8cdaf46de4db18885846748405a3c397c4bd1d2
/
.
/
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")
}
}