Sign in
go
/
tools
/
2dc7ebab284bdfe6bb7ae8b77c3cccb0049e13ce
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
invertifcondition
/
remove_else.go.golden
blob: 7362d24aec56902f7cec2ac3815fc928d704df86 [
file
] [
log
] [
blame
]
--
suggestedfix_remove_else_8_2
--
package
invertifcondition
import
(
"fmt"
)
func
RemoveElse
()
{
if
false
{
fmt
.
Println
(
"B"
)
return
}
//@suggestedfix("if true", "refactor.rewrite", "")
fmt
.
Println
(
"A"
)
fmt
.
Println
(
"C"
)
}