Sort collections/map APIs, improve empty implementations.
This commit is contained in:
@@ -2,8 +2,8 @@ class A {}
|
||||
|
||||
fun <T> foo(t: T) {}
|
||||
|
||||
fun <T> emptyList(): MutableList<T> = throw Exception()
|
||||
fun <T> someList(): MutableList<T> = throw Exception()
|
||||
|
||||
fun bar() {
|
||||
<caret>foo(emptyList())
|
||||
<caret>foo(someList())
|
||||
}
|
||||
Reference in New Issue
Block a user