Fixed mapping generic type with multiple bounds from Java to Kotlin.
#KT-3480 fixed
This commit is contained in:
committed by
Zalim Bashorov
parent
e47c84f40f
commit
d3570153ef
@@ -0,0 +1,7 @@
|
||||
import java.util.*;
|
||||
|
||||
public class max {
|
||||
public static <T extends Object & Comparable<? super T>> T max(Collection<? extends T> coll) {
|
||||
return Collections.max(coll);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user