Is it possible to create an object that you can do...
# getting-started
d
Is it possible to create an object that you can do different kinds of type-safe delegation to? ie. both
val i: Int by ourDelegate
and
val s: String by ourDelegate
? When trying to implement something like that I'm running into a compiler error about overload resolution ambiguity (presumably because it doesn't know which getValue to call?)