Join Slack
Powered by
you should add a marker interface `interface Promo...
# announcements
k
kirillrakhman
03/31/2017, 2:15 PM
you should add a marker interface
interface Promotable
to those classes and use
fun <T> foo(factory: () -> T) where T: ChessPiece, T: Promotable
2
Views
Open in Slack
Previous
Next