miha-x64
04/24/2020, 4:30 PMobject EmptyList
? There are already Collections.emptyList()
and `List.of()`…Shawn
04/24/2020, 4:33 PMdoesn’t exist outside of the jvmCollections.emptyList()
is only in Java 9 and newerList.of()
miha-x64
04/24/2020, 4:36 PMdoesn’t exist outside of the jvmIf course, but stdlib has many MPP expect/actual declarations including
listOf(T) = singletonList(t)
is only in Java 9 and newerYep, the point is just that there's too many duplication already.
jw
04/24/2020, 4:37 PMmiha-x64
04/24/2020, 4:38 PMon my list of things to fixYou mean, rewrite it with R8?
jw
04/24/2020, 4:44 PMjw
04/24/2020, 4:45 PMmiha-x64
04/24/2020, 4:59 PMa kotlinc intrinsic
actual inline fun
would be enoughjw
04/24/2020, 6:25 PMmiha-x64
04/24/2020, 7:08 PMmiha-x64
04/24/2020, 9:50 PM