geny: maxBy and minBy return null or zero for an empty generator, without an error
Reported · medium · Wrong-result bug
Unlike min and max, maxBy and minBy return null for reference types and zero for numeric types on an empty generator. The caller gets a placeholder with no error.
Found: ; reported: ; status since: . Reporter: Mike Murunov