Dico
01/24/2019, 3:48 AMkotlin.cinterops
for kotlin native, kotlinx.coroutines
, and most other projects that use a similar style in this respect.
I wonder if people would support the idea that importing a type should also import extension functions of that type that reside in the same file or package.
This would mean that if you import CoroutineScope
, you don't need to import launch
or any other builders other than runBlocking
.
What do you think?gildor
01/24/2019, 3:53 AMgildor
01/24/2019, 3:53 AMDico
01/24/2019, 4:22 AMgildor
01/24/2019, 5:06 AMghedeon
01/24/2019, 9:23 AMelizarov
01/24/2019, 11:14 AM*
in Kotlin libraries. It works great with top-level extension functionselizarov
01/24/2019, 11:14 AM