louiscad
12/10/2017, 1:23 PMarg()
and 'arg?'()
(the single quotes being backticks, just Slack limitation), but the IDE says ?
is not allowed in identifiers in Android projects. So I added the JvmName("argOfNullable")
, but the IDE still complains, and I assume the compiler will too.
So, please, could you add the ability to apply the identifier restriction only on the JVM name in the nearest Kotlin release possible?dave08
12/11/2017, 3:16 AMargOrNull()
more explicit? The ? In the middle of a function name might be very confusing...louiscad
12/11/2017, 6:01 AMargOrNull()
is a great naming suggestion, will use it, thanks!
My proposal still applies to other use cases though, because we would love to use emoji named functions in Android projects for more Kotlin fun! Especially since they just fixed the 🍔 emoji!