https://kotlinlang.org logo
#intellij
Title
# intellij
k

Klitos Kyriacou

10/18/2023, 4:16 PM
If I run the code below:
Copy code
fun main() {
    println(listOf(1,2,3).max())
    println(listOf<Int>().max())
}
It uses the new version of max. But if I Ctrl+Click on
max
in the IDE, it takes me to this deprecated version. Is this a known bug?
Found it, it had already been reported at https://youtrack.jetbrains.com/issue/KTIJ-22042
thank you color 1