Join Slack
Powered by
I have an extension function `Any.error()` but if ...
# announcements
c
cedric
10/24/2015, 10:38 PM
I have an extension function
Any.error()
but if I just call
error(...)
, then it's the one defined in the
kotlin.Preconditions
class that gets\called (it's a regular function, not an extension one). How do I force the compiler to pick mine?
Open in Slack
Previous
Next