| -- suggestedfix_stub_call_expr_4_8 -- | |
| package stub | |
| func main() { | |
| check(&callExpr{}) //@suggestedfix("&", "refactor.rewrite", "") | |
| } | |
| func check(err error) { | |
| if err != nil { | |
| panic(err) | |
| } | |
| } | |
| type callExpr struct{} | |
| // Error implements error | |
| func (*callExpr) Error() string { | |
| panic("unimplemented") | |
| } | |