Sign in
go
/
tools
/
c924e603b56b35e41529f44881503e25c6497e4d
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
invertifcondition
/
semicolon_and.go.golden
blob: 27e6b94a43edc6fe2d86ea2a9e79c0fc00a96599 [
file
] [
log
] [
blame
]
--
suggestedfix_semicolon_and_8_3
--
package
invertifcondition
import
(
"fmt"
)
func
SemicolonAnd
()
{
if
n
,
err
:=
fmt
.
Println
(
"x"
);
err
==
nil
||
n
<=
0
{
fmt
.
Println
(
"B"
)
}
else
{
//@suggestedfix("f", "refactor.rewrite", "")
fmt
.
Println
(
"A"
)
}
}