Use standard emptyList()

This commit is contained in:
Ilya Ryzhenkov
2014-12-01 22:06:18 +03:00
parent fbbb7eced1
commit 9242a3d3dc
2 changed files with 4 additions and 9 deletions
@@ -1,5 +1,3 @@
fun<T> emptyList(): List<T> = listOf()
fun foo(list: List<String>){}
fun foo(list: List<String>, i: Int){}
fun foo(list: List<Int>, b: Boolean){}