SA4017: print user-friendly function names
@@ -3104,7 +3104,7 @@ fnLoop:
// special case for benchmarks in the fmt package
continue
}
- report.Report(pass, ins, fmt.Sprintf("%s is a pure function but its return value is ignored", callee.Name()))
+ report.Report(pass, ins, fmt.Sprintf("%s is a pure function but its return value is ignored", callee.Object().Name()))
}
}
}
