Debian Codegraph @

quickfix/qf1001/testdata/go1.0/CheckDeMorgan/kvexpr.go.golden

raw
1 -- Apply De Morgan's law --
2 package pkg
3
4 func do() bool {
5 type Info struct {
6 idx int
7 }
8
9 var state map[Info]int
10 // Don't crash on KeyValueExpr
11 return state[Info{idx: 6}] != 6 && !false //@ diag(`could apply De Morgan's law`)
12 }