Join Slack
Communities
Powered by
``` fun <T> foo(ele: T): Int where T : SomeC...
# announcements
m
muralimohan962
11/03/2018, 2:45 AM
Copy code
fun <T> foo(ele: T): Int where T : SomeClass, T : SomeInterface { return 0 }
It's not obvious at first sight whether the T is extending some type or implementing it in where clause.
Open in Slack
Previous
Next