this is mostly here to identify failures of the error checking mechanism in its most basic form if this test fails then the mechanism is very broken
(i int)
| 193 | // this is mostly here to identify failures of the error checking mechanism in its most basic form |
| 194 | // if this test fails then the mechanism is very broken |
| 195 | func simpleUsesErrFunc(i int) { |
| 196 | nonnilPtr, _, err := retsNonnilNilableWithErr(&i, &i) |
| 197 | if err == nil { |
| 198 | takesNonnil(nonnilPtr) |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | func usesErrFunc() { |
| 203 | i := 0 |
nothing calls this directly
no test coverage detected