eygraber08/21/2020, 1:49 AM
on. I get a deprecation warning, so I run the "Replace with maxOrNull" fix, and it replaces
. So I put the
in front, and I get an unresolved reference error. There is no fix to import it. So I manually write the import (
), and I still get the unresolved reference error, and the import is gray (unused).
public fun <T : Comparable<T>> Sequence<T>.maxOrNull(): T?