CLOVIS
02/22/2020, 8:14 PM::
notation?
fun foo(a: KClass) = ...
foo(String) // Illegal
foo(String::class) // Legal
CLOVIS
02/22/2020, 8:15 PMCLOVIS
02/22/2020, 8:16 PMstreetsofboston
02/22/2020, 8:41 PMString
would refer to its companion object (if it had one 😀)CLOVIS
02/23/2020, 3:46 PM