Join Slack
Powered by
``` object a { override fun equals(other: Any?) ...
# random
k
kevinmost
01/17/2018, 4:04 PM
Copy code
object a { override fun equals(other: Any?) = true }
😂 11
😱 2
🧌 4
👍 2
c
caelum19
01/18/2018, 2:13 PM
fun Any.eqauls(other: Any?): Boolean = true
caelum19
01/18/2018, 2:15 PM
With the same name it'd be shadowed by the member method but if any poor soul makes a typo they're in for a headache
3
Views
Open in Slack
Previous
Next