salomonbrys
04/23/2017, 8:41 PMBus<in T>
, and not a Bus<in ExecutorTest.TestTaskContext>
. In essence, T
is not reified.
I understand why you are doing this but, unfortunately, there's no easy way to do this in Kodein... properly.
A "simple" hack would be to bind and retrieve Bus<*>
, then cast it to Bus<in T>
.